public List<Object> getAll() {
   List<Object> listUser = userDao.getAll();
   return listUser;
 }
 public User getById(Long id) {
   return (User) userDao.getById(id);
 }
 public void update(User user) {
   userDao.update(user);
 }
 public Long save(User user) throws Exception {
   return userDao.save(user);
 }