public HomeController(IShopItemService shop_item_service, ICartHelper cart_helper, IRoleService role_service, IUserService user_service)
 {
     shopItemService = shop_item_service;
     cartHelper      = cart_helper;
     roleService     = role_service;
     userService     = user_service;
 }
Example #2
0
 public CartController(IUserService user_service, IOrderService order_service, IShopItemService shop_item_service, ICartHelper cart_helper)
 {
     userService     = user_service;
     orderService    = order_service;
     shopItemService = shop_item_service;
     cartHelper      = cart_helper;
 }
Example #3
0
 public CartController(ICategoryService categoryService, ICartService cartService, IProductService productService, ICartHelper cartHelper)
 {
     _categoryService = categoryService;
     _cartService     = cartService;
     _productService  = productService;
     _cartHelper      = cartHelper;
 }
 public CheckoutController(ICategoryService categoryService, IProductService productService, ICartService cartService, IEmailService emailService, ICartHelper cartHelper)
 {
     _categoryService = categoryService;
     _productService  = productService;
     _cartService     = cartService;
     _emailService    = emailService;
     _cartHelper      = cartHelper;
 }