public async Task <IEnumerable <Contact> > GetContacts(string serviceUrl) { var response = _service.Get(serviceUrl + "GetContacts", null); var data = await response.Result.Content.ReadAsStringAsync(); var result = JsonConvert.DeserializeObject <IEnumerable <Contact> >(data); return(result); }