public Form(int ID, String name, Teacher teacher, List<Student> students)
 {
     if (students == null) this.students = new List<Student>();
     else this.students = students;
     this.ID = ID;
     this.name = name;
     this.teacher = teacher;
 }
 public Incident(int ID,Teacher teacher, Student student, int ticket_ID, String Arrival, String Comment)
 {
     this.ID = ID;
     this.teacher = teacher;
     this.student = student;
     this.ticket_ID = ticket_ID;
     this.arrival = Arrival;
     this.comment = Comment;
 }
 public static bool deleteTeacher(Teacher t)
 {
     return teacherRepository.delete(t);
 }
 public static bool addTeacher(Teacher t)
 {
     try
     {
         teacherRepository.add(t);
     }
     catch (Exception e)
     {
         Console.WriteLine(e.StackTrace);
         return false;
     }
     return true;
 }
 public Form(String Name, Teacher teacher)
 {
     this.name = Name;
     //this.T_ID = T_ID;
     this.teacher = teacher;
 }