Exemple #1
0
 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;
 }
Exemple #2
0
 public CartController() : base()
 {
     _productSevice = ServiceFactory.Get <IProductSevice>();
     _shoppingCartProductService = ServiceFactory.Get <IShoppingCartProductService>();
     _shoppingCartService        = ServiceFactory.Get <IShoppingCartService>();
 }
 public ShoppingCartProductController(IShoppingCartProductService shoppingCartProductService)
 {
     this.shoppingCartProductService = shoppingCartProductService;
 }