Пример #1
0
 public Service.Shop.Models.Region.Region GetRegionByRegionName(string regionName)
 {
     using (var client = new RegionClient())
     {
         var serviceResult = client.GetRegionByRegionName(regionName);
         serviceResult.ThrowIfException(true);
         return(serviceResult.Result);
     }
 }