Method ToList
ToList(QueryParameter<T>, CancellationToken)
Retrieves a list of entities based on the specified query parameters.
public Task<ListResult<TList>> ToList(QueryParameter<T> queryParameter, CancellationToken cancellationToken = default)
Parameters
queryParameter
QueryParameter<T>The query parameters.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<ListResult<TList>>
A task that represents the asynchronous operation. The task result contains the list of entities.