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