public AccountController( UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, OtherPerspectivesContext context) { _userManager = userManager; _signInManager = signInManager; _context = context; }
public CartController(Cart cart, OtherPerspectivesContext context) { _cart = cart; _dbContext = context; }
//the framework handles this public AdminController(OtherPerspectivesContext context, ApplicationDbContext aspContext) { _context = context; _aspContext = aspContext; }
public Cart(OtherPerspectivesContext context) { _dbContext = context; }
public ProductController(OtherPerspectivesContext context, ApplicationDbContext userContext, UserManager <ApplicationUser> userManager) { _context = context; _userContext = userContext; _userManager = userManager; }