/// <summary> /// GetDistributorProfile_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 IGetDistributorProfile operations, object body, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.POSTWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// GetDistributorProfile_POST /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='body'> /// </param> public static object POST(this IGetDistributorProfile operations, object body) { return(operations.POSTAsync(body).GetAwaiter().GetResult()); }