コード例 #1
0
 public ProductsController(
     IProductService productService,
     IFavouriteProductsService favouriteProductsService,
     IShoppingCartProductsService shoppingCartProductsService,
     IShoppingCartService shoppingCartService,
     UserManager <ApplicationUser> userManager
     )
 {
     this.productService              = productService;
     this.favouriteProductsService    = favouriteProductsService;
     this.shoppingCartProductsService = shoppingCartProductsService;
     this.shoppingCartService         = shoppingCartService;
     this.userManager = userManager;
 }
コード例 #2
0
 public ProductsFavouriteController(IFavouriteProductsService favouriteProductsService)
 {
     this.favouriteProductsService = favouriteProductsService;
 }