Method Delete
Delete<T, TShow>(IShowEntityService<T, TShow>, List<TShow>, CancellationToken)
Deletes the specified entities and their associated show data.
public static Task Delete<T, TShow>(this IShowEntityService<T, TShow> showEntityService, List<TShow> entities, CancellationToken cancellationToken = default) where T : class where TShow : class
Parameters
showEntityService
IShowEntityService<T, TShow>The show entity service.
entities
List<TShow>The list of entities to delete.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task
A task representing the asynchronous operation.
Type Parameters
T
The type of the entity.
TShow
The type of the show data.