public ShipperController(IShipperService shipperService, IAuthorizationService authorizationService, SignInManager <AppUser> signInManager) { _shipperService = shipperService; _authorizationService = authorizationService; _signInManager = signInManager; }
public ShipperController(IShipperService shipperService, IOrderService orderService, ICustomerService customerService, IAccountService accountService) { _shipperService = shipperService; _orderService = orderService; _customerService = customerService; _accountService = accountService; }
public OrderTableController(ICustomerService customerService, IEmployeeService employeeService, IOrderService orderService, IShipperService shipperService) { _customerService = customerService; _employeeService = employeeService; _orderService = orderService; _shipperService = shipperService; }
public OrderController(IOrderService orderService, ICustomerService customerService, IShipperService shipperService, IPaymentService paymentService) { _orderService = orderService; _customerService = customerService; _shipperService = shipperService; _paymentService = paymentService; }
public AccountController(IAccountService accountService, IShipperService shipperService, IStoreService storeService, ICustomerService customerService, IServiceService serviceService) { _accountService = accountService; _shipperService = shipperService; _storeService = storeService; _customerService = customerService; _serviceService = serviceService; }
public OrderController(IOrderService orderService, ISlotService slotService, ICustomerService customerService, IShipperService shipperService, IOrderSService orderServiceService) { _orderService = orderService; _slotService = slotService; _customerService = customerService; _shipperService = shipperService; _orderServiceService = orderServiceService; }
public ShipperController(IShipperService shipperService, IOrderService orderService, ICustomerService customerService, IAccountService accountService, IHubContext <CenterHub> hubContext) { _shipperService = shipperService; _orderService = orderService; _customerService = customerService; _accountService = accountService; _hub = hubContext; }
public AdminProcessController(IProductService productService, ICategoryService categoryService, IBrandService brandService, IPersonService personService, IShipperService shipperService) { _productService = productService; _categoryService = categoryService; _brandService = brandService; _personService = personService; _shipperService = shipperService; }
public CartController(IProductService productService, IOrderService orderService, SignInManager <AppUser> signInManager, UserManager <AppUser> userManager, IUserAdressService userAdressService, IShipperService shipperService) { this.productService = productService; this.orderService = orderService; this.signInManager = signInManager; this.userManager = userManager; this.userAdressService = userAdressService; this.shipperService = shipperService; }
public OrderController(IOrderDetailService orderDetailService, IShipperService shipperService, IAddressService addressService, IOrderService orderService, IPaymentService paymentService, IAppUserService appUserService, IProductService productService) { _orderDetailService = orderDetailService; _shipperService = shipperService; _addressService = addressService; _orderService = orderService; _paymentService = paymentService; _appUserService = appUserService; _productService = productService; }
public OrderController(IAddressService addressService, UserManager <AppUser> userManager, IShipperService shipperService, IPaymentService paymentService, Cart cart, IOrderService orderService, IOrderDetailService orderDetailService) { _addressService = addressService; _userManager = userManager; _paymentService = paymentService; _shipperService = shipperService; _cart = cart; _orderService = orderService; _orderDetailService = orderDetailService; }
public ShipperServiceTests() { _shipperRepository = new Mock <IRepository <Shipper> >(); _orderRepository = new Mock <IRepository <Order> >(); var logger = new Mock <ILogger <ShipperService> >(); _shipperService = new ShipperService(_shipperRepository.Object, _orderRepository.Object, logger.Object); }
public OrderController(IOrderService orderService, IIndex <PaymentType, IPayment> paymentResolver, IShipperService shipperService, IUserService userService) { _orderService = orderService; _paymentResolver = paymentResolver; _shipperService = shipperService; _userService = userService; }
public OrderController(IOrderService orderService, ISlotService slotService, ICustomerService customerService, IShipperService shipperService, IOrderSService orderServiceService, IServiceService serviceService, IStoreService storeService, IHubContext <CenterHub> hub) { _orderService = orderService; _slotService = slotService; _customerService = customerService; _shipperService = shipperService; _orderServiceService = orderServiceService; _serviceService = serviceService; _storeService = storeService; _hub = hub; }
public BaseApiController( IUnitOfWork uof, ICategoryService cs, IMemberService ms, IOrderService os, IOrderDetailService ods, IPaymentService pay, IProductService ps, IShipperService ships, ISupplierService sups ) { this._uof = uof; this._cs = cs; this._ms = ms; this._os = os; this._ods = ods; this._pays = pay; this._ps = ps; this._ships = ships; this._sups = sups; }
public AllService( IUnitOfWork uof, ICategoryService cs, IImageBaseService img, IMemberRoleService mrs, IMemberService ms, IOrderService os, IOrderDetailService ods, IPaymentService pay, IProductService ps, IShipperService ships, ISupplierService sups, DbContext context ) { this._uof = uof ?? throw new ArgumentNullException(); this._cs = cs ?? throw new ArgumentNullException(); this._img = img ?? throw new ArgumentNullException(); this._mrs = mrs ?? throw new ArgumentNullException(); this._ms = ms ?? throw new ArgumentNullException(); this._os = os ?? throw new ArgumentNullException(); this._ods = ods ?? throw new ArgumentNullException(); this._pays = pay ?? throw new ArgumentNullException(); this._ps = ps ?? throw new ArgumentNullException(); this._ships = ships ?? throw new ArgumentNullException(); this._sups = sups ?? throw new ArgumentNullException(); this._context = context ?? throw new ArgumentException(); }
public ShipperServiceTest() { var shipperModel = new ShipperModel { CompanyName = "name", Id = "id", Phone = "phone", ShipperId = 1 }; _shipperRepository = new Mock<IMongoReadOnlyRepository<ShipperModel>>(); _shipperRepository.Setup(x => x.FirstOrDefault(It.IsAny<Expression<Func<ShipperModel, bool>>>())) .Returns(shipperModel); _shipperRepository.Setup(x => x.GetMany(It.IsAny<int>(), It.IsAny<int>(), null, null, It.IsAny<SortDirection>(), It.IsAny<Expression<Func<ShipperModel, object>>[]>())) .Returns(new List<ShipperModel> { shipperModel }); _shipperService = new ShipperService(_shipperRepository.Object); }
public ShipmentViewModelFactory(IShipperService shipperService, IMapper mapper) { _shipperService = shipperService; _mapper = mapper; }
public CustomerController(IShipperService shipperService) { this.shipperService = shipperService; }
public ShipperController(IShipperService shipperService, ICommonService commonService) { this._shipperService = shipperService; _commonService = commonService; }
public ShipperController(IShipperService shipperManager) { _shipperService = shipperManager; }
public void Setup() { dataProvider = new SqlServerDataProvider(ConnectionString); shipperRepository = new ShipperRepository(dataProvider); shipperService = new ShipperService(shipperRepository); }
public SlotController(IShipperService shipperService, ISlotService slotService, IOrderService orderService) { _shipperService = shipperService; _slotService = slotService; _orderService = orderService; }
public OrdersController(IOrderService orderService, IShipperService shipperService) { _orderService = orderService; _shipperService = shipperService; }
public ShipperController(IShipperService shipperService) { _shipperService = shipperService; }
public ShipperController(IShipperService ShipperService) { this.ShipperService = ShipperService; }
public ShipperController(IShipperService shipperService, IMapper mapper) { this._mapper = mapper; this._shipperService = shipperService; }
public ValuesController(IUnitOfWork uof, ICategoryService cs, IMemberService ms, IOrderService os, IOrderDetailService ods, IPaymentService pay, IProductService ps, IShipperService ships, ISupplierService sups) : base(uof, cs, ms, os, ods, pay, ps, ships, sups) { }
public SportNutritionOrdersController(ISportNutritionOrderService sportNutritionOrderService, IShipperService shipperService) { _sportNutritionOrderService = sportNutritionOrderService ?? throw new ArgumentNullException(nameof(sportNutritionOrderService)); _shipperService = shipperService ?? throw new ArgumentNullException(nameof(shipperService)); }
public ShippersController(IShipperService shipperService, IMapper mapper) { _shipperService = shipperService; _mapper = mapper; }