public LocalityController(ILocalityService localityService)
 {
     _serviceRepository = localityService;
     _serviceRepository.Add(new Locality()
     {
         name = "Los Alcarrizos"
     });
 }
Example #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;
 }
Example #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;
 }
 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;
 }
Example #5
0
 public HomeController(IDeliveryService deliveryService, ILocalityService localityService)
 {
     this._deliveryService = deliveryService;
     this._localityService = localityService;
 }
Example #6
0
 public AddressService(ILocalityService localityService, IThoroughFareService thoroughFareService, IDeliveryPointService deliveryPointService)
 {
     _localityService      = localityService;
     _thoroughFareService  = thoroughFareService;
     _deliveryPointService = deliveryPointService;
 }
Example #7
0
 public DossierBuilder(IRepo <Dossier> repo, IUserService userService, ILocalityService localityService) : base(repo)
 {
     this.userService     = userService;
     this.localityService = localityService;
 }
Example #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;
 }
Example #9
0
 public LocalityController(ICountryService countryService, ILocalityService localityService)
 {
     _countryService  = countryService;
     _localityService = localityService;
 }
Example #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;
 }