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