class ReviewServiceImpl implements ReviewService {

    @Override
    public ServiceResult<Void> assignApplicationToPanel(long applicationId) {
        return getApplication(applicationId)
                .andOnSuccessReturnVoid(application -> application.setInAssessmentReviewPanel(true));
    }

}