Пример #1
0
 public IEnumerable <TEntity> SearchAndOrder(IQueryFilterOptions <TEntity> filterOptions, GenericSortOptions <TEntity> sortOptions)
 {
     return(_baseRepository.SearchAndOrder(filterOptions, sortOptions));
 }
Пример #2
0
 public IEnumerable <TEntity> SearchAndOrder(IQueryFilterOptions <TEntity> filterOptions, GenericSortOptions <TEntity> sortOptions)
 {
     return(sortOptions.GetSortedResults(filterOptions.GetFilteredResults(GetAll()).AsQueryable()));
 }