public static Task <List <TEntity> > GetListAsync <TEntity>( this IEntityQuery <TEntity> repo, CancellationToken cancellationToken) where TEntity : class { return(repo.GetListAsync(null, cancellationToken)); }
public static Task <List <TEntity> > GetListAsync <TEntity>( this IEntityQuery <TEntity> repo, IQuerySpec <TEntity> querySpec) where TEntity : class { return(repo.GetListAsync(querySpec, default(CancellationToken))); }