try {
Integer debitedAccountId = bankService.findAccountIdByNumber(command.getDebitedAccountNumber());
Integer creditedAccountId = bankService.findAccountIdByNumber(command.getCreditedAccountNumber());
bankService.performTransfer(debitedAccountId, creditedAccountId, command.getAmount());
MessageHelper.addFlashMessage(redirectAttributes, new Message("message.info.transfer.success"));
return "redirect:/private/bank/accounts.html";
} catch (UnsufficientBalanceException e) {
logger.info("insufficient amount");