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