@Override public String deleteClient(Integer clientID) throws ServiceException { try { return clientDAO.deleteClient(clientID); } catch (DaoException e) { throw new ServiceException(e.getMessage(), e); } }
@Override public Client getClientById(Integer id) throws ServiceException { try { return clientDAO.getClientById(id); } catch (DaoException e) { throw new ServiceException(e.getMessage(), e); } }
@Override public String insertClient(Client client) throws ServiceException { try { return clientDAO.insertClient(client); } catch (DaoException e) { throw new ServiceException(e.getMessage(), e); } }
@Override public List<Client> getAllClients() throws ServiceException { try { return clientDAO.getAllClients(); } catch (DaoException e) { throw new ServiceException(e.getMessage(), e); } }