class InstrumentTypeService {

    @Transactional
    public List<InstrumentType> update(List<InstrumentType> instrumentTypes, BindingResult errors,
            RequestInfo requestInfo) {

        try {

            instrumentTypes = fetchRelated(instrumentTypes);

            validate(instrumentTypes, ACTION_UPDATE, errors);

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

        } catch (CustomBindException e) {

            throw new CustomBindException(errors);
        }

        return instrumentTypeRepository.update(instrumentTypes, requestInfo);

    }

    @Autowired public  InstrumentTypeService(SmartValidator validator, InstrumentTypeRepository instrumentTypeRepository);

}