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