class ReviewController {

    @PutMapping("/review/{id}/reject")
    public RestResult<Void> rejectInvitation(@PathVariable("id") long id,
                                             @RequestBody @Valid ReviewRejectOutcomeResource reviewRejectOutcomeResource) {
        return reviewService.rejectReview(id, reviewRejectOutcomeResource).toPutResponse();
    }

}