public DutchTreatRepository(DutchTreatDbContext ctx)
 {
     _ctx = ctx;
 }
示例#2
0
 public Seeder(DutchTreatDbContext dbContext, IWebHostEnvironment hosting, UserManager <StoreUser> userManager)
 {
     _dbContext   = dbContext;
     _hosting     = hosting;
     _userManager = userManager;
 }
示例#3
0
 public DutchTreatSeeder(DutchTreatDbContext ctx, IHostingEnvironment hosting)
 {
     _ctx     = ctx;
     _hosting = hosting;
 }