/// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='name'>
 /// </param>
 /// <param name='body'>
 /// </param>
 public static object Post(this IHelloWithRouteOperations operations, string name = default(string), HelloWithRoute body = default(HelloWithRoute))
 {
     return(operations.PostAsync(name, body).GetAwaiter().GetResult());
 }
示例#2
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='name'>
 /// </param>
 /// <param name='format'>
 /// Specifies response output format
 /// </param>
 public static object Post(this IHelloWithRouteOperations operations, string name = default(string), string format = "json")
 {
     return(operations.PostAsync(name, format).GetAwaiter().GetResult());
 }