예제 #1
0
 public User findOne(int id) {
   return userRepo.findOne(id);
 }
예제 #2
0
 public void save(User user) {
   // TODO Auto-generated method stub
   userRepo.save(user);
 }
예제 #3
0
 public List<User> findAll() {
   return userRepo.findAll();
 }