public CartController(IShoppingCartService shoppingCartService, IShoppingCartProductService shoppingCartProductService, IProductSevice productSevice, ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IMembershipService membershipService, ISettingsService settingsService, ICacheService cacheService, ILocalizationService localizationService) : base(loggingService, unitOfWorkManager, membershipService, settingsService, cacheService, localizationService) { _productSevice = productSevice; _shoppingCartService = shoppingCartService; _shoppingCartProductService = shoppingCartProductService; }
public CartController() : base() { _productSevice = ServiceFactory.Get <IProductSevice>(); _shoppingCartProductService = ServiceFactory.Get <IShoppingCartProductService>(); _shoppingCartService = ServiceFactory.Get <IShoppingCartService>(); }
public ShoppingCartProductController(IShoppingCartProductService shoppingCartProductService) { this.shoppingCartProductService = shoppingCartProductService; }