private async Task SeedDatabase() { using var context = new ApplicationDbContext(this.ContextOptions); await context.Users.AddRangeAsync(UserCreator.GetTestUsers()); await context.Articles.AddRangeAsync(this.GetTestArticles()); await context.SaveChangesAsync(); }