public void AddDiscipline(Discipline disc) { disciplines.Add(disc); }
public void RemoveDiscipline(Discipline disc) { disciplines.Remove(disc); }
public Teacher(string firstName, string secondName, Discipline disc, string comment) : base(firstName, secondName) { disciplines = new List<Discipline>(); disciplines.Add(disc); commentOnTeacher = comment; }
public Teacher(string firstName, string secondName, Discipline disc) : base(firstName, secondName) { disciplines = new List<Discipline>(); disciplines.Add(disc); }
public Teacher(string firstName, string secondName, Discipline disc) : base(firstName, secondName) { disciplines = new List <Discipline>(); disciplines.Add(disc); }