Example #1
0
        public IHttpActionResult Get(int page, int pageSize = GlobalConstants.DefaultPageSize)
        {
            var result = projects
                         .All(page: 1)
                         .ProjectTo <SoftwareProjectsDetailsResponseModels>()
                         .ToList();

            return(this.Ok(result));
        }