tiseza_oss_live/Repositories/CompanyRepository.cs

31 lines
818 B
C#
Raw Normal View History

2025-11-15 11:14:31 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using OSS.Models;
using OSS.Repositories;
namespace OSS.Repositories
{
public class CompanyRepository
{
public CompanyProfileExternal CreateLocation()
{
var RRepo = new RegionRepository();
var DRepo = new DistrictRepository();
var WAll = new WardRepository();
var officeRepsoitory = new CompanyProfileExternal
{
ListofDistricts = DRepo.GetDistricts(),
ListofRegions = RRepo.GetRegions(),
ListofWards = WAll.GetWard()
};
return officeRepsoitory;
}
}
}