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
listEntityServiceIListEntityService<T, TList>The list entity service.
entitiesList<TList>The list of entities to delete.
cancellationTokenCancellationTokenThe cancellation token.
Returns
- Task
A task that represents the asynchronous operation.
Type Parameters
TThe type of the entity.
TListThe type of the list entity.