public IEnumerable <TEntity> SearchAndOrder(IQueryFilterOptions <TEntity> filterOptions, GenericSortOptions <TEntity> sortOptions) { return(_baseRepository.SearchAndOrder(filterOptions, sortOptions)); }
public IEnumerable <TEntity> SearchAndOrder(IQueryFilterOptions <TEntity> filterOptions, GenericSortOptions <TEntity> sortOptions) { return(sortOptions.GetSortedResults(filterOptions.GetFilteredResults(GetAll()).AsQueryable())); }