/// <summary> /// Execute Result /// </summary> /// <typeparam name="T"></typeparam> /// <returns></returns> public IRestResponse <T> Execute <T>() where T : new() { IHttpResponse httpResponse = _httpFactory.Execute().Result; IRestResponse <T> restResponse = ResponseMapper.ToAsyncResponse <T>(httpResponse); if (!string.IsNullOrEmpty(httpResponse.Content)) { restResponse.Data = Parser.Deserialize <T>(_restRequest.DataFormat, httpResponse.Content); } return(restResponse); }