示例#1
0
 public void SaveClass()
 {
     las.Save(classes);
 }
示例#2
0
 public void AddTeacher(string name, string soname, string gender, DateTime birthday, string clas, int id)
 {
     teachers.Add(new Teacher(name, soname, gender, birthday, clas, id));
     las.Save(teachers);
 }