Esempio n. 1
0
 private List <ShareSplit> GetSplitsFromResponse(HttpResponseMessage response)
 {
     return(ShareSplit.FromJson(response.Content.ReadAsStringAsync().Result));
 }
Esempio n. 2
0
 private async Task <List <ShareSplit> > GetSplitsFromResponseAsync(HttpResponseMessage response)
 {
     return(ShareSplit.FromJson(await response.Content.ReadAsStringAsync()));
 }