Exemplo n.º 1
0
 public IEnumerable <TEntity> SearchAndOrder(IQueryFilterOptions <TEntity> filterOptions, GenericSortOptions <TEntity> sortOptions)
 {
     return(_baseRepository.SearchAndOrder(filterOptions, sortOptions));
 }
Exemplo n.º 2
0
 public IEnumerable <TEntity> SearchAndOrder(IQueryFilterOptions <TEntity> filterOptions, GenericSortOptions <TEntity> sortOptions)
 {
     return(sortOptions.GetSortedResults(filterOptions.GetFilteredResults(GetAll()).AsQueryable()));
 }