Example #1
0
        public static async Task SeedData(ToDoContext dbContext)
        {
            var items = GetMockToDoItemList();
            await dbContext.AddRangeAsync(items);

            await dbContext.SaveChangesAsync();
        }