示例#1
0
        public IPagingList Index([FromServices] StandingbookService service, [FromQuery] ProjectQueryRequest queryRequest)
        {
            IPagingList list = service.GetProjects(queryRequest).ProjectedAsPagingList <ProjectStandingbookDto>();

            return(list);
        }
示例#2
0
 public ProjectStandingbookDto GetProject([FromServices] StandingbookService service, [FromRoute] long id)
 {
     return(service.GetProject(id));
 }