示例#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();
 }