Example #1
0
 public PMASeeder(PMAContext context, IHostingEnvironment hosting,
                  UserManager <PMAUser> userManager, RoleManager <IdentityRole> roleManager)
 {
     this.context     = context;
     this.hosting     = hosting;
     this.userManager = userManager;
     this.roleManager = roleManager;
 }
Example #2
0
 public PMARepository(PMAContext context)
 {
     this.context = context;
 }