Retrieves a single entity from the data store by its id.

public abstract Task<T> GetOneAsync(string id, CancellationToken cancellationToken)
Returns:
Task<T>

Parameters

id string

The id of the entity to retrieve.

cancellationToken CancellationToken
In this article