Example #1
0
 /// <summary>
 /// Delete entity from adoxio_endorsementtypes
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='adoxioEndorsementtypeid'>
 /// key: adoxio_endorsementtypeid of adoxio_endorsementtype
 /// </param>
 /// <param name='ifMatch'>
 /// ETag
 /// </param>
 /// <param name='customHeaders'>
 /// Headers that will be added to request.
 /// </param>
 public static HttpOperationResponse DeleteWithHttpMessages(this IEndorsementtypes operations, string adoxioEndorsementtypeid, string ifMatch = default(string), Dictionary <string, List <string> > customHeaders = null)
 {
     return(operations.DeleteWithHttpMessagesAsync(adoxioEndorsementtypeid, ifMatch, customHeaders, CancellationToken.None).ConfigureAwait(false).GetAwaiter().GetResult());
 }
Example #2
0
 /// <summary>
 /// Delete entity from adoxio_endorsementtypes
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='adoxioEndorsementtypeid'>
 /// key: adoxio_endorsementtypeid of adoxio_endorsementtype
 /// </param>
 /// <param name='ifMatch'>
 /// ETag
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DeleteAsync(this IEndorsementtypes operations, string adoxioEndorsementtypeid, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.DeleteWithHttpMessagesAsync(adoxioEndorsementtypeid, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }