1
0
forked from PGL/Clyde

Merge branch 'Max/Backend/GetUserById' into wal/front/listingUsers

This commit is contained in:
2024-03-17 22:00:56 +01:00
5 changed files with 18 additions and 7 deletions

View File

@@ -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);
}
}