Пример #1
0
        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);
        }
Пример #2
0
 public void AddSubject(Subject subject)
 {
     Enrolments.Add(subject);
 }