public ShoppingCartItemHelper(IShoppingCartHelper shoppingCartHelper, IShoppingCartItemService shoppingCartItemService, IShoppingCartService shoppingCartService, IProductService productService) { _shoppingCartHelper = shoppingCartHelper; _shoppingCartItemService = shoppingCartItemService; _productService = productService; _shoppingCartService = shoppingCartService; }
public CartService(IProductDataService productDataService, IWorkContext workContext, IRestrictedItemAccessManager accessManager, IUnitOfWork unitOfWork, IShoppingCartHelper shoppingCartHelper) { _productDataService = productDataService; _workContext = workContext; _accessManager = accessManager; _unitOfWork = unitOfWork; _shoppingCartHelper = shoppingCartHelper; }