public AdminPortalModel(CerealDBContext context, IProduct product, IBasketItems basket, UserManager <ApplicationUser> userManager) { _context = context; _basket = basket; _product = product; _userManager = userManager; }
public CheckoutController(IProduct product, IBasketItems basket, CerealDBContext context, IEmailSender email, UserManager <ApplicationUser> userManager) { _basket = basket; _product = product; _context = context; _email = email; _userManager = userManager; }
public ProductController(IProduct product, IBasketItems basket, UserManager <ApplicationUser> userManager) { _basket = basket; _product = product; _userManager = userManager; }