class ProjectController {

    @GetMapping("/{id}")
    public RestResult<ProjectResource> getProjectById(@PathVariable long id) {
        return projectService.getProjectById(id).toGetResponse();
    }

}