question: @ Modifying @ Transactional public void deleteCheque ( @ PathVariable Long chequeID ) { chequeRepository . delete ( chequeID ) ; photoRepository . deleteByChequeId ( chequeID . toString ( ) ) ; }
target:  Method deleteCheque remove cheque from DB by id