public CartProductController(IProductService prodService, IUserService userService, IFridgeProductService fridgeproductService, ICartProductService cartproductService)
 {
     _cartproductService   = cartproductService;
     _productService       = prodService;
     _userService          = userService;
     _fridgeproductService = fridgeproductService;
 }
 public ProductsController(IProductService _productService, ICategoryService _categoryService, ICartService _cartService, ICartProductService _cartProductService)
 {
     productService     = _productService;
     categoryService    = _categoryService;
     cartService        = _cartService;
     cartProductService = _cartProductService;
 }
 public HomeController(IProductService productService, ICartService cartService, IUserService userService, ICartProductService cartProductService)
 {
     _productService     = productService;
     _cartService        = cartService;
     _userService        = userService;
     _cartProductService = cartProductService;
 }
示例#4
0
 public CartsController(ICartService _cartService, ICartProductService _cartProductService, ISalesInformationService _salesInformationService, IPaymentTypeService _paymentTypeService, IUserService _userService)
 {
     cartService             = _cartService;
     cartProductService      = _cartProductService;
     salesInformationService = _salesInformationService;
     paymentTypeService      = _paymentTypeService;
     userService             = _userService;
 }
示例#5
0
 public CartController(IProductService productService, ICartService cartService, IUserService userService, ICartProductService cartProductService, ISaleService saleService)
 {
     _productService     = productService;
     _cartService        = cartService;
     _userService        = userService;
     _cartProductService = cartProductService;
     _saleService        = saleService;
 }
 public ProductController(IProductService productService, IUserService userService, ICartService cartService, ICategoryService categoryService, ICartProductService cartProductService)
 {
     _productService     = productService;
     _userService        = userService;
     _cartService        = cartService;
     _categoryService    = categoryService;
     _cartProductService = cartProductService;
 }
示例#7
0
 public CartController(IProductService productService, ICartProductService cartProductService,
                       IClientService clientService, ICategoryService categoryService, IMapper mapper)
 {
     this.productService     = productService;
     this.cartProductService = cartProductService;
     this.clientService      = clientService;
     this.categoryService    = categoryService;
     _mapper = mapper;
 }
示例#8
0
 public CartController(
     ICartProductService cartProductService,
     UserManager <User> userManager,
     IStringLocalizer <CartController> localizer)
 {
     this.cartProductService = cartProductService;
     this.userManager        = userManager;
     this.localizer          = localizer;
 }
示例#9
0
 public CartAvailMethodsService(IPaymentMethodsSearchService paymentMethodsSearchService,
                                IShippingMethodsSearchService shippingMethodsSearchService,
                                ITaxProviderSearchService taxProviderSearchService,
                                ICartProductService cartProductService,
                                IMapper mapper)
 {
     _paymentMethodsSearchService  = paymentMethodsSearchService;
     _shippingMethodsSearchService = shippingMethodsSearchService;
     _taxProviderSearchService     = taxProviderSearchService;
     _cartProductService           = cartProductService;
     _mapper = mapper;
 }
示例#10
0
 public ClientController(IClientService clientService, UserManager <IdentityUser> userManager,
                         ILocationService locationService, IOrderService orderService, IFavoritesService favoritesService,
                         ICartProductService cartProductService, IRatingService ratingService, IAdminService adminService)
 {
     this.clientService      = clientService;
     _userManager            = userManager;
     this.locationService    = locationService;
     this.orderService       = orderService;
     this.favoritesService   = favoritesService;
     this.cartProductService = cartProductService;
     this.ratingService      = ratingService;
     this.adminService       = adminService;
 }
示例#11
0
 public CartAggregate(
     IMarketingPromoEvaluator marketingEvaluator,
     IShoppingCartTotalsCalculator cartTotalsCalculator,
     ITaxProviderSearchService taxProviderSearchService,
     ICartProductService cartProductService,
     IDynamicPropertyUpdaterService dynamicPropertyUpdaterService,
     IMapper mapper
     )
 {
     _cartTotalsCalculator          = cartTotalsCalculator;
     _marketingEvaluator            = marketingEvaluator;
     _taxProviderSearchService      = taxProviderSearchService;
     _cartProductService            = cartProductService;
     _dynamicPropertyUpdaterService = dynamicPropertyUpdaterService;
     _mapper = mapper;
 }
示例#12
0
 public CartAggregateRepository(
     Func <CartAggregate> cartAggregateFactory,
     IShoppingCartSearchService shoppingCartSearchService,
     IShoppingCartService shoppingCartService,
     ICurrencyService currencyService,
     IMemberResolver memberResolver,
     IStoreService storeService,
     ICartProductService cartProductsService)
 {
     _cartAggregateFactory      = cartAggregateFactory;
     _shoppingCartSearchService = (SearchService <ShoppingCartSearchCriteria, ShoppingCartSearchResult, ShoppingCart, ShoppingCartEntity>)shoppingCartSearchService;
     _shoppingCartService       = (ICrudService <ShoppingCart>)shoppingCartService;
     _currencyService           = currencyService;
     _memberResolver            = memberResolver;
     _storeService        = storeService;
     _cartProductsService = cartProductsService;
 }
示例#13
0
 public OrderController(IClientService clientService, IOrderService orderService,
                        IProductOrderService productOrderService, IProductService productService,
                        ICartProductService cartProductService, IDeliveryInfoService deliveryInfoService,
                        IDeliveryManService deliveryManService, IRatingService ratingService, IMapper mapper,
                        IAdminService adminService, IEmailSenderService emailSenderService)
 {
     this.clientService       = clientService;
     this.orderService        = orderService;
     this.productOrderService = productOrderService;
     this.productService      = productService;
     this.cartProductService  = cartProductService;
     this.deliveryInfoService = deliveryInfoService;
     this.deliveryManService  = deliveryManService;
     this.ratingService       = ratingService;
     _mapper                 = mapper;
     this.adminService       = adminService;
     this.emailSenderService = emailSenderService;
 }
示例#14
0
 public ChangeCartItemQuantityCommandHandler(ICartAggregateRepository cartRepository, ICartProductService cartProductService)
     : base(cartRepository)
 {
     _cartProductService = cartProductService;
 }
示例#15
0
 public AddCartItemCommandHandler(ICartAggregateRepository cartRepository, ICartProductService cartProductService)
     : base(cartRepository)
 {
     _cartProductService = cartProductService;
 }
 public CartValidationContextFactory(ICartAvailMethodsService availMethods, ICartProductService cartProducs)
 {
     _availMethods = availMethods;
     _cartProducts = cartProducs;
 }