コード例 #1
0
 public CommonDataService()
 {
     _ICountryRepo     = new CountryRepo();
     _IStateRepo       = new StateRepo();
     _IDistrictRepo    = new DistrictRepo();
     _ICityRepo        = new CityRepo();
     _IDesignationRepo = new DesignationRepo();
 }
コード例 #2
0
 public DistrictService(IMapper mapper, IDistrictRepo repo)
 {
     _mapper = mapper;
     _repo   = repo;
 }
コード例 #3
0
 public DistrictService()
 {
     _IDistrictRepo = new DistrictRepo();
 }
コード例 #4
0
 public DistrictController(IDistrictRepo districtRepo)
 {
     repo = districtRepo;
 }