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

            return(list);
        }
Exemplo n.º 2
0
 public ProjectStandingbookDto GetProject([FromServices] StandingbookService service, [FromRoute] long id)
 {
     return(service.GetProject(id));
 }