Exemplo n.º 1
0
 public CommonDataService()
 {
     _ICountryRepo     = new CountryRepo();
     _IStateRepo       = new StateRepo();
     _IDistrictRepo    = new DistrictRepo();
     _ICityRepo        = new CityRepo();
     _IDesignationRepo = new DesignationRepo();
 }
 public DistrictService(IMapper mapper, IDistrictRepo repo)
 {
     _mapper = mapper;
     _repo   = repo;
 }
Exemplo n.º 3
0
 public DistrictService()
 {
     _IDistrictRepo = new DistrictRepo();
 }
 public DistrictController(IDistrictRepo districtRepo)
 {
     repo = districtRepo;
 }