Example #1
0
 public Task <TSource> FirstAsync <TSource>(IQueryable <TSource> source, CancellationToken cancellationToken = default(CancellationToken))
 => LinqExtensionMethods.FirstAsync(source, cancellationToken);
Example #2
0
 public Task <TSource> FirstAsync <TSource>(IQueryable <TSource> source, Expression <Func <TSource, bool> > predicate, CancellationToken cancellationToken = default(CancellationToken))
 => LinqExtensionMethods.FirstAsync(source, predicate, cancellationToken);