/// <summary> /// Delete an existing model by id /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='modelId'> /// The model to delete /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async System.Threading.Tasks.Task DeleteModelAsync(this IModels operations, System.Guid modelId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { await operations.DeleteModelWithHttpMessagesAsync(modelId, null, cancellationToken).ConfigureAwait(false); }
/// <summary> /// Delete an existing model by id /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='modelId'> /// The model to delete /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task DeleteModelAsync(this IModels operations, Guid modelId, CancellationToken cancellationToken = default(CancellationToken)) { await operations.DeleteModelWithHttpMessagesAsync(modelId, null, cancellationToken).ConfigureAwait(false); }