Example #1
0
 public BMapRoutePlanningController(IAddressService addressService, IOrderservice orderService, IDeliveryStationService deliveryStationService, IDeliveryInfoService deliveryInfoService, ICourierService courierService)
 {
     _addressService         = addressService;
     _orderService           = orderService;
     _deliveryStationService = deliveryStationService;
     _deliveryInfoService    = deliveryInfoService;
     _courierService         = courierService;
 }
Example #2
0
 public CourierController(ICustomerService customerService, IEmployeeService employeeService,
                          ICourierService courierService, ICourierEmployeeService courierEmployeeService)
     : base(employeeService)
 {
     _customerService        = customerService;
     _employeeService        = employeeService;
     _courierService         = courierService;
     _courierEmployeeService = courierEmployeeService;
 }
Example #3
0
 public ImportService(IProductService productService, ICourierService courierService, ISupplierService supplierService, IFileReader fileReader, IValidator validator, IJsonService jsonService)
 {
     this.productService  = productService ?? throw new ArgumentNullException(nameof(productService));
     this.courierService  = courierService ?? throw new ArgumentNullException(nameof(courierService));
     this.supplierService = supplierService ?? throw new ArgumentNullException(nameof(supplierService));
     this.fileReader      = fileReader ?? throw new ArgumentNullException(nameof(fileReader));
     this.validator       = validator ?? throw new ArgumentNullException(nameof(validator));
     this.jsonService     = jsonService ?? throw new ArgumentNullException(nameof(validator));
 }
        public CourierController(ICourierService courierService,
                                 ApplicationDbContext dbContext,
                                 IHttpContextAccessor httpContextAccessor)
        {
            this.courierService      = courierService;
            this.dbContext           = dbContext;
            this.httpContextAccessor = httpContextAccessor;

            courierId = GetCourierId();
        }
Example #5
0
 public CourierController(IDiagnosticService diagnosticService, ICourierService courierService, IUserService userService, IContactService contactService, IFranchiseeConfigurationService franchiseeConfigurationService, IEmailHandler emailHandler, IWebApiConsumeUserService webApiConsumeUserService)
     : base(diagnosticService, null)
 {
     _diagnosticService = diagnosticService;
     _courierService    = courierService;
     _userService       = userService;
     _contactService    = contactService;
     _franchiseeConfigurationService = franchiseeConfigurationService;
     _emailHandler             = emailHandler;
     _webApiConsumeUserService = webApiConsumeUserService;
 }
Example #6
0
 public CourierController(ICourierService CourierService, IBusinessEntityService BusinessEntityService, IAccountService AccountService, IPersonService PersonService, IPersonRegistrationService PersonRegistrationService, IPersonAddressService PersonAddressService, IPersonProcessService PersonProcessService, IActivityLogService ActivityLogService, IUnitOfWork unitOfWork, IExceptionHandlingService exec)
 {
     _CourierService            = CourierService;
     _PersonService             = PersonService;
     _PersonAddressService      = PersonAddressService;
     _BusinessEntityService     = BusinessEntityService;
     _AccountService            = AccountService;
     _PersonProcessService      = PersonProcessService;
     _PersonRegistrationService = PersonRegistrationService;
     _ActivityLogService        = ActivityLogService;
     _unitOfWork = unitOfWork;
     _exception  = exec;
 }
Example #7
0
 public AuthenticationController(IAuthenticationService authenticationService,
                                 IDiagnosticService diagnosticService, IUserService userService, ICourierService courierService,
                                 IWebApiConsumeUserService webApiUserService, IFranchiseeConfigurationService franchiseeConfigurationService, IFranchiseeTenantService franchiseeTenantService)
     : base(authenticationService, diagnosticService, null)
 {
     _authenticationService          = authenticationService;
     _diagnosticService              = diagnosticService;
     _userService                    = userService;
     _webApiUserService              = webApiUserService;
     _courierService                 = courierService;
     _franchiseeConfigurationService = franchiseeConfigurationService;
     _franchiseeTenantService        = franchiseeTenantService;
     _emailHandler                   = new EmailHandler();
 }
 public PurchaseService(
     IDeletableEntityRepository <Purchase> purchaseRepository,
     IDeletableEntityRepository <Courier> courierRepository,
     IDeletableEntityRepository <Area> areaRepository,
     IDeletableEntityRepository <WorkingArea> workingAreaRepostiory,
     IDeletableEntityRepository <Restaurant> restaurantRepostiory,
     ICourierService courierService)
 {
     this.purchaseRepository    = purchaseRepository;
     this.courierRepository     = courierRepository;
     this.areaRepository        = areaRepository;
     this.workingAreaRepostiory = workingAreaRepostiory;
     this.restaurantRepostiory  = restaurantRepostiory;
     this.courierService        = courierService;
 }
Example #9
0
 public CourierController(IAuthenticationService authenticationService, IDiagnosticService diagnosticService, IRenderViewToString renderViewToString,
                          IResizeImage resizeImage, IGridConfigService gridConfigService, ICourierService courierService, IUserService userService,
                          IFranchiseeConfigurationService franchiseeConfigurationService, ITrackingService trackingService, IWebApiConsumeUserService webApiConsumeUserService)
     : base(authenticationService, diagnosticService, courierService)
 {
     _courierService                 = courierService;
     _gridConfigService              = gridConfigService;
     _userService                    = userService;
     _renderViewToString             = renderViewToString;
     _franchiseeConfigurationService = franchiseeConfigurationService;
     _emailHandler                   = new EmailHandler();
     _resizeImage                    = resizeImage;
     _trackingService                = trackingService;
     _webApiConsumeUserService       = webApiConsumeUserService;
 }
Example #10
0
 public CourierController(ICourierService <TblCourier> courierService)
 {
     _courierService = courierService;
 }
Example #11
0
 public LandmarkController(ICourierService courierService)
 {
     _courierService = courierService;
 }
Example #12
0
 public CourierController(ICourierService courierService)
 {
     _courierService = courierService;
 }
 public CouriersAPIController(CourierContext context, ICourierService courierService)
 {
     _context        = context;
     _courierService = courierService;
 }
Example #14
0
 public CouriersController(ICourierService courierService)
 {
     _courierService = courierService ?? throw new ArgumentNullException(nameof(courierService));
 }
Example #15
0
 public MockImportService(IProductService productService, ICourierService courierService, ISupplierService supplierService, IFileReader fileReader, IValidator validator, IJsonService jsonService) : base(productService, courierService, supplierService, fileReader, validator, jsonService)
 {
 }
 public CouriersController(ICourierService courierService, IMapper mapper)
 {
     _courierService = courierService;
     _mapper         = mapper;
 }
 public TransactionsController(ITransactionService transactionService, ICustomerService customerService, ICourierService courierService)
 {
     _transactionService = transactionService;
     _customerService    = customerService;
     _courierService     = courierService;
 }