@Override public AccountDTO getAccountDetails(Integer id_account) { accountDetails = accountFacade.findByI(id_account); AccountDTO dto = new AccountDTO(); AccountConverter.convertEntityToDTO(accountDetails, dto); return dto; }
@Override public List<AccountDTO> getAccountList() { List<AccountDTO> dtos = accountFacade.findAllDTO(); return dtos; }