public ShoppingCartItemHelper(IShoppingCartHelper shoppingCartHelper, IShoppingCartItemService shoppingCartItemService, IShoppingCartService shoppingCartService, IProductService productService) { _shoppingCartHelper = shoppingCartHelper; _shoppingCartItemService = shoppingCartItemService; _productService = productService; _shoppingCartService = shoppingCartService; }
public HomeController(IItemService itemService, IOfferService offerService, IShoppingCartService shoppingCartService, IShoppingCartItemService shoppingCartItemService) { _itemService = itemService; _offerService = offerService; _shoppingCartService = shoppingCartService; _shoppingCartItemService = shoppingCartItemService; }
public ShoppingCartAppService(IShoppingCartService shoppingCartService, IShoppingCartItemService shoppingCartItemService, IProductService productService) { _shoppingCartService = shoppingCartService; _shoppingCartItemService = shoppingCartItemService; _productService = productService; }
public OrderController( IOrderService _OrderService, IShoppingCartItemService _ShoppingCartItemService ) { this.OrderService = _OrderService; this.ShoppingCartItemService = _ShoppingCartItemService; }
public ShoppingCartController(IShoppingCartItemService shoppingCartItemService , IPostService postService, IWorkContext workContext, IGenericAttributeService genericAttributeService, IPaymentMethodService paymentMethodService) { _shoppingCartItemService = shoppingCartItemService; _postService = postService; _workContext = workContext; _genericAttributeService = genericAttributeService; }
public ShoppingCartAppService(IShoppingCartService shoppingCartService, IShoppingCartItemService shoppingCartItemService, IProductService productService, IUnityOfWork uow) : base(uow) { _shoppingCartService = shoppingCartService; _shoppingCartItemService = shoppingCartItemService; _productService = productService; }
public AbstractShoppingCartItemController( ApiSettings settings, ILogger <AbstractShoppingCartItemController> logger, ITransactionCoordinator transactionCoordinator, IShoppingCartItemService shoppingCartItemService, IApiShoppingCartItemModelMapper shoppingCartItemModelMapper ) : base(settings, logger, transactionCoordinator) { this.ShoppingCartItemService = shoppingCartItemService; this.ShoppingCartItemModelMapper = shoppingCartItemModelMapper; }
public void Setup() { // Resolve autofac dependencies _itemService = Resolve <IItemService>(); _offerService = Resolve <IOfferService>(); _shoppingCartService = Resolve <IShoppingCartService>(); _shoppingCartItemService = Resolve <IShoppingCartItemService>(); // Init Database Database.SetInitializer(new CreateDatabase()); // Configure AutoMapper AutoMapperConfiguration.Configure(); }
public void TearDown() { _itemService = null; _offerService = null; _shoppingCartService = null; _shoppingCartItemService = null; ShutdownIoC(); // Cleanup the database using (ShoppingKartContext db = new ShoppingKartContext()) { db.Database.Delete(); } AutoMapperConfiguration.Reset(); }
public ShoppingCartItemController( ApiSettings settings, ILogger <ShoppingCartItemController> logger, ITransactionCoordinator transactionCoordinator, IShoppingCartItemService shoppingCartItemService, IApiShoppingCartItemModelMapper shoppingCartItemModelMapper ) : base(settings, logger, transactionCoordinator, shoppingCartItemService, shoppingCartItemModelMapper) { this.BulkInsertLimit = 250; this.MaxLimit = 1000; this.DefaultLimit = 250; }
public OrderProcessingService(IOrderService orderService , IShoppingCartItemService shoppingCartItemService , ICustomerService customerService , IGenericAttributeService genericAttributeService , IPriceCalculationService priceCalculationService , IMessageService messageFactory, IPostService postService , IOrderTotalCalculationService orderTotalCalculationService) { _orderService = orderService; _shoppingCartItemService = shoppingCartItemService; _customerService = customerService; _genericAttributeService = genericAttributeService; _priceCalculationService = priceCalculationService; _messageFactory = messageFactory; _postService = postService; _orderTotalCalculationService = orderTotalCalculationService; }
public CheckoutController(IWorkContext workContext, ICustomerService customerService, IAddressService addressService, IPostService postService , IShoppingCartItemService shoppingCartItemService , IPaymentMethodService paymentMethodService , IGenericAttributeService genericAttributeService , IShippingMethodService shippingMethodService , IOrderService orderService , IOrderProcessingService orderProcessingService) { _workContext = workContext; _customerService = customerService; _addressService = addressService; _postService = postService; _shoppingCartItemService = shoppingCartItemService; _paymentMethodService = paymentMethodService; _genericAttributeService = genericAttributeService; _shippingMethodService = shippingMethodService; _orderService = orderService; _orderProcessingService = orderProcessingService; }
public ShoppingCartItemController(IShoppingCartItemService service, ILogger <ShoppingCartItemController> logger) { _service = service; _logger = logger; }
public ShoppingCartItemController( IShoppingCartItemService _ShoppingCartItemService ) { this.ShoppingCartItemService = _ShoppingCartItemService; }
public ShoppingCartItemAppService(IShoppingCartItemService shoppingCartItemService) { _shoppingCartItemService = shoppingCartItemService; }
public ShoppingCartItemAppService(IShoppingCartItemService shoppingCartItemService, IUnityOfWork uow) : base(uow) { _shoppingCartItemService = shoppingCartItemService; }
public ShoppingCartItemsController(IShoppingCartItemService shoppingCartItemService) { _shoppingCartItemService = shoppingCartItemService; }
public ShoppingCartItemController(IShoppingCartItemService shoppingCartItemService, IProductService productService) { _shoppingCartItemService = shoppingCartItemService; _productService = productService; }