Пример #1
0
 public static void ConfigurePersistenceRuntime(IWebHostEnvironment env, EWTDbContext dbContext)
 {
     //todo zmień przy kolejnym releasu
     //if (env.IsDevelopment())
     //{
     dbContext.Database.EnsureCreated();
     //}
 }
 public PersistEmployeeAdapter(EWTDbContext dbContext)
 {
     this.dbContext = dbContext;
 }
 public PersistWorkEventAdapter(EWTDbContext dbContext)
 {
     this.dbContext = dbContext;
 }