Esempio n. 1
0
 public ParksSeeder(ParkContext context, UserManager <LocalParksUser> userManager,
                    RoleManager <IdentityRole> roleManager, IHostingEnvironment hosting)
 {
     _context     = context;
     _userManager = userManager;
     _roleManager = roleManager;
     _hosting     = hosting;
 }
Esempio n. 2
0
 public ParkRepository(ParkContext context, ILogger <ParkRepository> logger)
 {
     _context = context;
     _logger  = logger;
 }