private T GetApiResponse <T>(string url) { var json = WebApi.Get(url); return(JsonConvert.DeserializeObject <T>(json)); }