class SurrenderReasonService {

    @Transactional
    public List<SurrenderReason> update(List<SurrenderReason> surrenderReasons, BindingResult errors,
            RequestInfo requestInfo) {

        try {

            surrenderReasons = fetchRelated(surrenderReasons);

            validate(surrenderReasons, ACTION_UPDATE, errors);

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

        } catch (CustomBindException e) {

            throw new CustomBindException(errors);
        }

        return surrenderReasonRepository.update(surrenderReasons, requestInfo);

    }

    @Autowired public  SurrenderReasonService(SmartValidator validator, SurrenderReasonRepository surrenderReasonRepository);

}