Пример #1
0
 public LeaveNotifierDbContextSeedData(LeaveNotifierDbContext context,
                                       RoleManager <IdentityRole> roleManager,
                                       UserManager <LeaveNotifierUser> userManager,
                                       IConfigurationRoot config)
 {
     _context     = context;
     _roleManager = roleManager;
     _userManager = userManager;
     _config      = config;
 }
Пример #2
0
 public LeaveNotifierRepository(LeaveNotifierDbContext context)
 {
     _context = context;
 }