Esempio n. 1
0
 public void RemoveGroup(Group group)
 {
     if (group.YearOfStudy != YearOfStudy || !TableDictionary.ContainsKey(group))
     {
         return;
     }
     SetSubjects();
     SetSubjectIndexes();
     TableDictionary.Remove(group);
 }
Esempio n. 2
0
 public void AddGroup(Group group)
 {
     if (group.YearOfStudy != YearOfStudy || TableDictionary.ContainsKey(group))
     {
         return;
     }
     SetSubjects();
     SetSubjectIndexes();
     TableDictionary[group] = new Dictionary <ClassTime, ClassRecord>();
 }