class ReviewServiceImpl implements ReviewService {

    @Override
    public ServiceResult<Void> unassignApplicationFromPanel(long applicationId) {
        return getApplication(applicationId)
                .andOnSuccess(this::unassignApplicationFromPanel)
                .andOnSuccessReturnVoid(this::withdrawAssessmentReviewsForApplication);
    }

}