/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='id'> /// </param> /// <param name='customHeaders'> /// Headers that will be added to request. /// </param> public static AzureOperationResponse DeletePostWithHttpMessages(this IAPIClient operations, System.Guid?id = default(System.Guid?), Dictionary <string, List <string> > customHeaders = null) { return(operations.DeletePostWithHttpMessagesAsync(id, customHeaders, CancellationToken.None).ConfigureAwait(false).GetAwaiter().GetResult()); }
/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='id'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task DeletePostAsync(this IAPIClient operations, System.Guid?id = default(System.Guid?), CancellationToken cancellationToken = default(CancellationToken)) { (await operations.DeletePostWithHttpMessagesAsync(id, null, cancellationToken).ConfigureAwait(false)).Dispose(); }