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