public Enrolment CreateEnrolment(CourseDelivery course) { var result = new Enrolment(this, course); Enrolments.Add(result); foreach (var subject in result.CourseRun.Subjects) { Attendance.Add(subject.Name, new List <Attendance>()); } course.Enrolments.Add(result); return(result); }
public void AddSubject(Subject subject) { Enrolments.Add(subject); }