예제 #1
0
 public List<Object> getAll() {
   List<Object> listUser = userDao.getAll();
   return listUser;
 }
예제 #2
0
 public User getById(Long id) {
   return (User) userDao.getById(id);
 }
예제 #3
0
 public void update(User user) {
   userDao.update(user);
 }
예제 #4
0
 public Long save(User user) throws Exception {
   return userDao.save(user);
 }