public EFCoreRepository(SpringklingContext context) { this.context = context; }
public async Task Invoke(HttpContext context, SpringklingContext dbContext) { await dbContext.Database.EnsureCreatedAsync(); await Next(context); }