示例#1
0
 public CSeeder(CContext context, IWebHostEnvironment hosting, UserManager <StoreUser> userManager, RoleManager <IdentityRole> roleManager)
 {
     _context     = context;
     _hosting     = hosting;
     _userManager = userManager;
     _roleManager = roleManager;
 }
示例#2
0
 public CRepository(CContext context, ILogger <CContext> logger)
 {
     _logger  = logger;
     _context = context;
 }