Merge branch 'Max/Backend/GetUserById' into wal/front/listingUsers
This commit is contained in:
@@ -122,4 +122,9 @@ public class UserService {
|
||||
public Iterable<User> getAllTeachers (){return userRepo.findAllTeachers();}
|
||||
|
||||
public Iterable<User> getAllStudents(){return userRepo.findAllStudents();}
|
||||
|
||||
|
||||
public User getUserById(long id) {
|
||||
return userRepo.findById(id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user