public List <DictDto> GetList(int startPage, int pageSize, out int rowCount) { var results = _repository.LoadPageList(startPage, pageSize, out rowCount, null, a => a.SortNum); return(Mapper.Map <List <DictDto> >(results)); }