示例#1
0
        private T GetApiResponse <T>(string url)
        {
            var json = WebApi.Get(url);

            return(JsonConvert.DeserializeObject <T>(json));
        }