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; }