public IPagingList Index([FromServices] StandingbookService service, [FromQuery] ProjectQueryRequest queryRequest) { IPagingList list = service.GetProjects(queryRequest).ProjectedAsPagingList <ProjectStandingbookDto>(); return(list); }
public ProjectStandingbookDto GetProject([FromServices] StandingbookService service, [FromRoute] long id) { return(service.GetProject(id)); }