コード例 #1
0
 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;
 }
コード例 #2
0
 public OrdersService(IDeletableEntityRepository <Order> ordersRepository, IDeletableEntityRepository <OrderProductItem> orderProductItemRepository, IShoppingCartItemsService shoppingCartItemsService)
 {
     this.ordersRepository           = ordersRepository;
     this.orderProductItemRepository = orderProductItemRepository;
     this.shoppingCartItemsService   = shoppingCartItemsService;
 }
コード例 #3
0
 public ShoppingCartViewComponent(IShoppingCartItemsService shoppingCartItemsService, UserManager <ApplicationUser> userManager)
 {
     this.shoppingCartItemsService = shoppingCartItemsService;
     this.userManager = userManager;
 }
コード例 #4
0
 public ShoppingCartItemsController(IShoppingCartItemsService shoppingCartItemsService, UserManager <ApplicationUser> userManager, IProductsService productService)
 {
     this.shoppingCartItemsService = shoppingCartItemsService;
     this.userManager    = userManager;
     this.productService = productService;
 }