コード例 #1
0
 public AdminPortalModel(CerealDBContext context, IProduct product, IBasketItems basket, UserManager <ApplicationUser> userManager)
 {
     _context     = context;
     _basket      = basket;
     _product     = product;
     _userManager = userManager;
 }
コード例 #2
0
 public CheckoutController(IProduct product, IBasketItems basket, CerealDBContext context, IEmailSender email, UserManager <ApplicationUser> userManager)
 {
     _basket      = basket;
     _product     = product;
     _context     = context;
     _email       = email;
     _userManager = userManager;
 }
コード例 #3
0
 public ProductController(IProduct product, IBasketItems basket, UserManager <ApplicationUser> userManager)
 {
     _basket      = basket;
     _product     = product;
     _userManager = userManager;
 }