Interface IDeleteService<TResource, TId>
- Namespace
- JsonApiDotNetCore.Services
- Assembly
- JsonApiDotNetCore.dll
public interface IDeleteService<TResource, in TId> where TResource : class, IIdentifiable<in TId>
Type Parameters
TResource
TId
Methods
DeleteAsync(TId, CancellationToken)
Handles a JSON:API request to delete an existing resource.
Task DeleteAsync(TId id, CancellationToken cancellationToken)
Parameters
id
TIdcancellationToken
CancellationToken