示例#1
0
 public WASeeder(WAContext ctx,
                 IHostingEnvironment hosting,
                 UserManager <StoreUser> userManager,
                 RoleManager <IdentityRole> roleManager)
 {
     _roleManager = roleManager;
     _ctx         = ctx;
     _hosting     = hosting;
     _userManager = userManager;
 }
 public WARepository(WAContext ctx, ILogger <WARepository> logger)
 {
     _ctx    = ctx;
     _logger = logger;
 }