コード例 #1
0
 public SnappySeeder(SnappyContext ctx, IHostingEnvironment hosting, UserManager <StoreUser> userManager, RoleManager <IdentityRole> roleManager)
 {
     _ctx         = ctx;
     _hosting     = hosting;
     _userManager = userManager;
     _roleManager = roleManager;
 }
コード例 #2
0
 public SnappyRepository(SnappyContext ctx, ILogger <SnappyRepository> logger)
 {
     _ctx    = ctx;
     _logger = logger;
 }