/// <summary> /// Initializes a new instance of the <see cref="AccountController"/> class. /// </summary> /// <param name="userManager">The user manager.</param> /// <param name="signInManager">The sign in manager.</param> public AccountController(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, BearMountainDbContext context, IEmailSender email) { _userManager = userManager; _signInManager = signInManager; _context = context; _email = email; }
public CheckoutController(BearMountainDbContext context, IInventory product, ICart cart, IEmailSender email) { _context = context; _cart = cart; _product = product; _email = email; }
public CartService(BearMountainDbContext context) { _context = context; }
/// <summary> /// Initializes a new instance of the <see cref="InventoryService"/> class. /// </summary> /// <param name="context">The context.</param> public InventoryService(BearMountainDbContext context) { _context = context; }
public ItemsInCart(BearMountainDbContext context) { _context = context; }
/// <summary> /// Initializes a new instance of the <see cref="InventoryController"/> class. /// </summary> /// <param name="product">The product.</param> public InventoryController(IInventory product, ICart cart, BearMountainDbContext context) { _product = product; _cart = cart; _context = context; }