Method Delete
Delete<T, TList>(IListEntityService<T, TList>, List<TList>, CancellationToken)
Deletes a list of entities.
public static Task Delete<T, TList>(this IListEntityService<T, TList> listEntityService, List<TList> entities, CancellationToken cancellationToken = default) where T : class where TList : class
Parameters
listEntityService
IListEntityService<T, TList>The list entity service.
entities
List<TList>The list of entities to delete.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task
A task that represents the asynchronous operation.
Type Parameters
T
The type of the entity.
TList
The type of the list entity.