public void RemoveProfessor(Professor professor)
 {
     Professors.Remove(professor);
 }
Beispiel #2
0
 public Lecture(int id, string title, DateTime date, double price, Status status, Professor professor)
 {
     Id        = id;
     Title     = title;
     Date      = date;
     Price     = price;
     Status    = status;
     Professor = professor;
 }
 public void AddProfessor(Professor professor)
 {
     Professors.Add(professor);
 }