public async Task Reset() { using (var repo = MainRepository.WithReadAndWrite()) { await ResetService.ResetAsync(repo); await repo.SaveChangesAsync(); } }