using System; using System.Collections.Generic; using System.Linq; using System.Web; using OSS.Models; using OSS.Repositories; namespace OSS.Repositories { public class ProjectRepository { public ProjectProfileExternal CreateLocation() { var RRepo = new RegionRepository(); var DRepo = new DistrictRepository(); var LSector = new SectorsRepository(); var WAll = new WardRepository(); var LSSector = new SubSectorsRepository(); var officeRepsoitory = new ProjectProfileExternal { ListofDistricts = DRepo.GetDistricts(), ListofRegions = RRepo.GetRegions(), ListofWards = WAll.GetWard(), ListofSectors= LSector.GetSectors(), ListofSubectors = LSSector.GetSubSectors() }; return officeRepsoitory; } } }