public DetailsModel(DevShop.Data.DevShopDbContext context, UserManager <ExtendedIdentityUser> userManager) { _userManager = userManager; _context = context; ViewModel = new DetailsPageViewModel(); ReturnUrl = "/Account/Cart"; }
public IndexModel(DevShop.Data.DevShopDbContext context) { _context = context; ViewModel = new IndexPageViewModel(); }
public DbSeeder(DevShopDbContext ctx, UserManager <ExtendedIdentityUser> userManager) { _ctx = ctx; _userManager = userManager; }
public AddBookModel(DevShop.Data.DevShopDbContext context) { _context = context; }