Beispiel #1
0
 public void AddDiscipline(Discipline discipline)
 {
     if (disciplines.Contains(discipline))
     {
         throw new ArgumentException("The discipline has already been added.");
     }
     this.disciplines.Add(discipline);
 }
Beispiel #2
0
 public void RemoveDiscipline(Discipline discipline)
 {
     this.disciplines.Remove(discipline);
 }