user nules
This commit is contained in:
@ -77,4 +77,8 @@ public class UserService {
|
||||
return this.repo.findById(userId);
|
||||
}
|
||||
|
||||
public List<User> getAllStudents() {
|
||||
return this.repo.getAllByRole(UserRoles.STUDENT);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user