public static CountryRegionCollection GetCountryRegions(string CountryCode) { var result = new CountryRegionCollection(); using (var context = Exigo.WebService()) { var response = context.GetCountryRegions(new GetCountryRegionsRequest() { CountryCode = CountryCode }); result.Countries = response.Countries.Select(c => new Country() { CountryCode = c.CountryCode, CountryName = c.CountryName }); result.Regions = response.Regions.Select(c => new Region() { RegionCode = c.RegionCode, RegionName = c.RegionName }); } return result; }