/// <summary> /// GetProductCatalog_POST /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='body'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <object> POSTAsync(this IGetProductCatalog operations, object body, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.POSTWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// GetProductCatalog_POST /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='body'> /// </param> public static object POST(this IGetProductCatalog operations, object body) { return(operations.POSTAsync(body).GetAwaiter().GetResult()); }