partly accepted statistics

This commit is contained in:
Filip Izydorczyk
2021-01-21 16:15:01 +01:00
parent 270e31f120
commit a910709798
3 changed files with 55 additions and 1 deletions

View File

@ -219,4 +219,11 @@ public class UserService {
}
/**
* @return ammount of how many users have partly or none schedule accepted
*/
public Integer getAmmountOfUsersWithNoAcceptedSchedules() {
return this.getAllStudents().size() - this.getAmmountOfUsersWithAcceptedSchedules();
}
}