Пример #1
0
 private async Task<IEnumerable<City>> LoadCitiesAsync()
 {
     var service = new CitiesService();
     var cities = await service.LoadCitiesAsync();
     return cities;
 }
 public async void EnregisterVille()
 {
     service = new CitiesService();
     await service.AddCity(_ville, Pays);
 }