Пример #1
0
        public async Task ProcessSchool(List <core.School> Schools)
        {
            using (var context = new JonasTest.Data.Model.ScoreCardContext())
            {
                var repository = new SchoolRepository(context);
                await repository.AddRange(Schools);

                await context.SaveChangesAsync();
            }
        }