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