예제 #1
0
 public HomeController(WebStoreProductsModelContext _context,
                       UserManager <StoreUser> _userManager, SignInManager <StoreUser> _signInManager)
 {
     dbContext     = _context;
     userManager   = _userManager;
     signInManager = _signInManager;
 }
예제 #2
0
 public CartController(WebStoreProductsModelContext _context)
 {
     dbContext = _context;
 }
 public CategoriesViewComponent(WebStoreProductsModelContext _context)
 {
     db = _context;
 }