public ZipCodeResult Find(ZipCode value) { string json = Request.GetString(GetCreateUrl(value)); return(GetConvertResult(json)); }
public async Task <ZipCodeResult> FindAsync(ZipCode value) { string json = await Request.GetStringAsync(GetCreateUrl(value)); return(GetConvertResult(json)); }
private Uri GetCreateUrl(ZipCode zipCode) { return(new Uri(string.Format(Url, zipCode.Value))); }