Beispiel #1
0
 public async Task Add(Interfaces.ICity city)
 {
     await this.cityService.addCityAsync(new addCityRequest
     {
         citCountry = city.CitCountry,
         citName    = city.CitName
     });
 }
Beispiel #2
0
        public async Task <ICity> Merge(Interfaces.ICity city)
        {
            var result = await this.cityService.mergeCityAsync(new mergeCityRequest
            {
                citId          = city.Id,
                citCountry     = city.CitCountry,
                citName        = city.CitName,
                citIdSpecified = true
            });

            return(this.ToCity(result.@return));
        }