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