/// <inheritdoc /> public override async Task DeleteManyAsync <TEntity>(DeleteManyRequest <Guid> request, CancellationToken cancellationToken = default) { if (request == null) { throw new ArgumentNullException(nameof(request)); } await base.DeleteManyAsync <TEntity>(request, cancellationToken); }
/// <summary> /// Delete Many. /// Invokes the 'delete/many' endpoint of the api. /// </summary> /// <typeparam name="TEntity">The entity type.</typeparam> /// <param name="request">The <see cref="DeleteManyRequest"/>.</param> /// <param name="cancellationToken">The <see cref="CancellationToken"/>.</param> /// <returns>Nothing.</returns> public virtual async Task DeleteManyAsync <TEntity>(DeleteManyRequest request, CancellationToken cancellationToken = default) where TEntity : class, IEntityDeletable { if (request == null) { throw new ArgumentNullException(nameof(request)); } await this.Invoke <DeleteManyRequest, TEntity>(request, cancellationToken); }