private IndexComposition GetIndexCompositionFromResponse(HttpResponseMessage response)
 {
     return(IndexComposition.FromJson(response.Content.ReadAsStringAsync().Result));
 }
 private async Task <IndexComposition> GetIndexCompositionFromResponseAsync(HttpResponseMessage response)
 {
     return(IndexComposition.FromJson(await response.Content.ReadAsStringAsync()));
 }