public LocalityController(ILocalityService localityService)
 {
     _serviceRepository = localityService;
     _serviceRepository.Add(new Locality()
     {
         name = "Los Alcarrizos"
     });
 }
示例#2
0
 public JobController(
     IJobRepository repository,
     IEmailService mailService,
     ILocalityService localityService,
     IDataTagService service,
     Subject <JobActivity> activitySubject)
 {
     this.repository       = repository;
     this.mailService      = mailService;
     this.activitySubject  = activitySubject;
     this.localLityService = localityService;
     this.dataTagService   = service;
 }
示例#3
0
 public AddressController(
     IStateService stateService,
     IDistrictService districtService,
     ISubDistrictService subDistrictService,
     ILocalityService localityService,
     IPincodeService pincodeService
     )
 {
     this._stateService       = stateService;
     this._districtService    = districtService;
     this._subDistrictService = subDistrictService;
     this._localityService    = localityService;
     this._pincodeService     = pincodeService;
 }
示例#4
0
 public LeadsController(ILeadService baseService,
                        IUserService userService,
                        ILeadSourceService sourceService,
                        ILeadStatusService leadStatusService,
                        IWebHostEnvironment hostingEnvironment,
                        IPincodeService pincodeService,
                        ISubDistrictService subDistrictService,
                        ILocalityService localityService)
     : base(baseService)
 {
     this.service            = baseService;
     this.userService        = userService;
     this.sourceService      = sourceService;
     this.leadStatusService  = leadStatusService;
     this.hostingEnvironment = hostingEnvironment;
     this.pincodeService     = pincodeService;
     this.subDistrictService = subDistrictService;
     this.localityService    = localityService;
 }
示例#5
0
 public HomeController(IDeliveryService deliveryService, ILocalityService localityService)
 {
     this._deliveryService = deliveryService;
     this._localityService = localityService;
 }
示例#6
0
 public AddressService(ILocalityService localityService, IThoroughFareService thoroughFareService, IDeliveryPointService deliveryPointService)
 {
     _localityService      = localityService;
     _thoroughFareService  = thoroughFareService;
     _deliveryPointService = deliveryPointService;
 }
示例#7
0
 public DossierBuilder(IRepo <Dossier> repo, IUserService userService, ILocalityService localityService) : base(repo)
 {
     this.userService     = userService;
     this.localityService = localityService;
 }
示例#8
0
 /// <summary>
 /// Creates a single instance of LocalityController.
 /// It's a controller for handling localities used in jobs.
 /// </summary>
 /// <param name="service"></param>
 public LocalityController(ILocalityService service)
 {
     this._service = service;
 }
示例#9
0
 public LocalityController(ICountryService countryService, ILocalityService localityService)
 {
     _countryService  = countryService;
     _localityService = localityService;
 }
示例#10
0
 public AddressBuilder(IRepo <Address> repo, ILocalityService s) : base(repo)
 {
     this.s = s;
 }
 public UserDeliveryInitiationController(IBillService billService, ILocalityService localityService)
 {
     this._billService     = billService;
     this._localityService = localityService;
 }