@Override public List<Employee> findAll() { try { return empDao.findAll(); } catch (Exception e) { throw new RuntimeException(e); } }
@Override public void del(int id) { try { empDao.del(id); } catch (Exception e) { throw new RuntimeException(e); } }
@Override public Employee findById(int id) { try { return empDao.findById(id); } catch (Exception e) { throw new RuntimeException(e); } }
@Override public void update(Employee t) { try { empDao.update(t); } catch (Exception e) { throw new RuntimeException(e); } }