Example #1
0
 public IEnumerable <TEntity> SelectPage(int page, int pageSize, out int totalCount)
 {
     totalCount = _repository.Select(_expression).Count();
     return(_repository.Select(_expression, _orderBy, _includes, page, pageSize));
 }