Exemplo n.º 1
0
 public static async Task <ResponseResult <TResult> > PostBodyAsync <TResult>(this System.Net.Http.HttpClient client, string url, object data, string contentType = "application/json")
 {
     return(await client.PostBodyAsync <TResult>(url, JsonConvert.SerializeObject(data), contentType));
 }