class ProjectDetailsController {

    @PostMapping("/{projectId}/duration/{durationInMonths}")
    public RestResult<Void> updateProjectDuration(@PathVariable("projectId") final long projectId,
                                                  @PathVariable("durationInMonths") final long durationInMonths) {
        return projectDetailsService.updateProjectDuration(projectId, durationInMonths).toPostResponse();
    }

}