Beispiel #1
0
 public void AddActivityGrade(PlainText subjectName, RegistrationNumber regNumber, Grade grade)
 {
     _subjects.Find(d => d.SubjectInfo.Name == subjectName)
     .GetSituationForStudent(regNumber)
     .AddActivityGrade(grade);
 }
Beispiel #2
0
 public void AddAttendance(PlainText subjectName, RegistrationNumber regNumber, Attendance attendance)
 {
     _subjects.Find(d => d.SubjectInfo.Name == subjectName)
     .GetSituationForStudent(regNumber)
     .AddAttendance(attendance);
 }
Beispiel #3
0
 public Grade CalculateStudentAverage(PlainText subjectName, RegistrationNumber regNumber)
 {
     return _definedSubjects.Find(d => d.SubjectInfo.Name == subjectName).GetAverageForStudent(regNumber);
 }