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