public AppUserSeeder(AdContext context, IHostingEnvironment hosting, UserManager <AppUser> userManager, RoleManager <IdentityRole> roleManager)
 {
     _context     = context;
     _hosting     = hosting;
     _userManager = userManager;
     _roleManager = roleManager;
 }
Example #2
0
 public AdRepository(AdContext context, UserManager <AppUser> userManager)
 {
     _context     = context;
     _userManager = userManager;
 }