public OrdersController(UserManager <ApplicationUser> userManager, IOrdersService orderService, IUsersService userService, IShoppingCartItemsService shoppingCartItemsService, IAddressesService addressesService) { this.userManager = userManager; this.ordersService = orderService; this.userService = userService; this.shoppingCartItemsService = shoppingCartItemsService; this.addressesService = addressesService; }
public OrdersService(IDeletableEntityRepository <Order> ordersRepository, IDeletableEntityRepository <OrderProductItem> orderProductItemRepository, IShoppingCartItemsService shoppingCartItemsService) { this.ordersRepository = ordersRepository; this.orderProductItemRepository = orderProductItemRepository; this.shoppingCartItemsService = shoppingCartItemsService; }
public ShoppingCartViewComponent(IShoppingCartItemsService shoppingCartItemsService, UserManager <ApplicationUser> userManager) { this.shoppingCartItemsService = shoppingCartItemsService; this.userManager = userManager; }
public ShoppingCartItemsController(IShoppingCartItemsService shoppingCartItemsService, UserManager <ApplicationUser> userManager, IProductsService productService) { this.shoppingCartItemsService = shoppingCartItemsService; this.userManager = userManager; this.productService = productService; }