class AbstractOrganisationFinanceService extends BaseTransactionalService implements OrganisationFinanceService {

    @Override
    public ServiceResult<Boolean> isShowStateAidAgreement(long targetId, long organisationId) {
        return getStateAidEligibilityForCompetition(targetId).andOnSuccess(eligibility -> {
            if (!eligibility) {
                return serviceSuccess(false);
            }
            return isBusinessOrganisation(organisationId);
        });
    }

}