/*public static TermCourseBLL RetrieveTermCourse(string termCourseId)
  * {
  *      return termCourses.RetrieveTermCourse(termCourseId);
  * }*/
 internal static void SaveALL()
 {
     DataFileAccess.SaveAdmins(admins);
     DataFileAccess.SaveCourses(courses);
     DataFileAccess.SaveStudents(students);
     DataFileAccess.SaveTeachers(teachers);
     DataFileAccess.SaveTermCourses(termCourses);
 }
Beispiel #2
0
 /// <summary>
 /// 保存所有数据
 /// </summary>
 public static void SaveALL()
 {
     DataFileAccess.SaveAdmins(admins);
     DataFileAccess.SaveCasualUsers(casualUsers);
     DataFileAccess.SaveFormalUsers(formalUsers);
     DataFileAccess.SaveParks(parks);
     DataFileAccess.SaveOrders(orders);
 }