private async Task <List <Exchange> > GetExchangesFromResponseAsync(HttpResponseMessage response) { return(Exchange.FromJson(await response.Content.ReadAsStringAsync())); }
private List <Exchange> GetExchangesFromResponse(HttpResponseMessage response) { return(Exchange.FromJson(response.Content.ReadAsStringAsync().Result)); }