Interface IGetAllService<TResource, TId>
- Namespace
- JsonApiDotNetCore.Services
- Assembly
- JsonApiDotNetCore.dll
public interface IGetAllService<TResource, in TId> where TResource : class, IIdentifiable<in TId>
Type Parameters
TResource
TId
Methods
GetAsync(CancellationToken)
Handles a JSON:API request to retrieve a collection of resources for a primary endpoint.
Task<IReadOnlyCollection<TResource>> GetAsync(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationToken
Returns
- Task<IReadOnlyCollection<TResource>>