public DeleteModel(HouseLemmingv3.Data.ApplicationDbContext context)
 {
     _context = context;
 }
 public IndexModel(HouseLemmingv3.Data.ApplicationDbContext context)
 {
     _context     = context;
     _UserManager = _context.GetService <UserManager <ApplicationUser> >();
 }
示例#3
0
 public IndexModel(HouseLemmingv3.Data.ApplicationDbContext context)
 {
     _context     = context;
     ImageHelpers = new ImageHelpers(context);
     UserManager  = _context.GetService <UserManager <ApplicationUser> >();
 }