public Task<T> FindOneAsync(Expression<Func<T, bool>> filter, CancellationToken cancellationToken)
Returns:
Task<T>

Parameters

filter Expression<Func<T, bool>>
cancellationToken CancellationToken
In this article