class ProjectStateController {

    @PostMapping("/{projectId}/on-hold")
    public RestResult<Void> putProjectOnHold(@PathVariable("projectId") final long projectId,
                                             @RequestBody OnHoldReasonResource reason) {
        return projectStateService.putProjectOnHold(projectId, reason).toPostWithBodyResponse();
    }

    @Autowired public  ProjectStateController(ProjectStateService projectStateService);

}