protected IQueryable <TGetAllDto> GetAllInternal(PagedResultsRequestDTO request) { IQueryable <TGetAllDto> result = null; if (request == null) { request = new PagedResultsRequestDTO(); } try { var baseQuery = ArtifactRepo.GetAll(); result = baseQuery .ProjectTo <TGetAllDto>() .SearchQuery(request, GetSearchFields()); } catch (Exception ex) { Error(ex); } return(result); }
public virtual IList <T> GetAll() { return(_repositoryBase.GetAll()); }