示例#1
0
 public IndexModel(IConfiguration configuration, ApplicationDbContext context, SignInManager <ApplicationUser> SignInManager, UserManager <ApplicationUser> UserManager, RoleManager <IdentityRole> RoleManager) : base(configuration, context, SignInManager, UserManager, RoleManager)
 {
     _configuration = configuration;
     _signInManager = SignInManager;
     _userManager   = UserManager;
     _context       = context;
 }
示例#2
0
 public CreateModel(IConfiguration configuration, ApplicationDbContext context, SignInManager <ApplicationUser> SignInManager, UserManager <ApplicationUser> UserManager, RoleManager <IdentityRole> RoleManager) : base(configuration, context, SignInManager, UserManager, RoleManager)
 {
     _configuration = configuration;
     _signInManager = SignInManager;
     _userManager   = UserManager;
     _context       = context;
     PopulateETDropDownList(_context, null);
 }
示例#3
0
 public EditModel(Esecure2.Data.ApplicationDbContext context)
 {
     _context = context;
 }
示例#4
0
 public DetailsModel(Esecure2.Data.ApplicationDbContext context)
 {
     _context = context;
 }
示例#5
0
 public FileHelper(ApplicationDbContext context)
 {
     // _configuration = configuration;
     _context         = context;
     fileConfigurator = new FileConfigurator();
 }