コード例 #1
0
        public async Task RequestReset()
        {
            using (var repo = MainRepository.WithReadAndWrite())
            {
                var countries = await repo.Country.GetAllAsync();

                await ResetService.RequestResetAsync(repo, countries.First(c => !c.HasOverthrown).Id);

                await repo.SaveChangesAsync();
            }
        }