class InstrumentService {

    @Transactional
    public List<Instrument> delete(List<Instrument> instruments, BindingResult errors, RequestInfo requestInfo) {

        try {

            validate(instruments, ACTION_DELETE, errors);

            if (errors.hasErrors())
                throw new CustomBindException(errors);

        } catch (CustomBindException e) {

            throw new CustomBindException(errors);
        }

        return instrumentRepository.delete(instruments, requestInfo);

    }

    @Autowired public  InstrumentService(SmartValidator validator, InstrumentRepository instrumentRepository, BankContractRepository bankContractRepository,
            FinancialStatusContractRepository financialStatusContractRepository,
            BankAccountContractRepository bankAccountContractRepository,
            InstrumentTypeRepository instrumentTypeRepository);

}