Exemple #1
0
 public DutchSeeder(DutchContext ctx, IHostingEnvironment hosting,
                    UserManager <StoreUser> userManager) //in order to fill the db context it must have it
 {
     _ctx         = ctx;
     _hosting     = hosting;
     _userManager = userManager;
 }
Exemple #2
0
 public DutchRepository(DutchContext ctx)
 {
     _ctx = ctx;
 }