예제 #1
0
        public IEnumerable <TViewModel> GetPaginated(IPaginate paginate)
        {
            var result = domainService.GetAll().AsQueryable().GetPaginate(paginate);

            return(iMapper.Map <IEnumerable <TEntity>, IEnumerable <TViewModel> >(result));
        }