static BaseBLL()
 {
     admins      = DataFileAccess.GetAdmins();
     students    = DataFileAccess.GetStudents();
     teachers    = DataFileAccess.GetTeachers();
     courses     = DataFileAccess.GetCourses();
     termCourses = DataFileAccess.GetTermCourses();
     InitInitIDs();
 }
Beispiel #2
0
 public static void InitAll()
 {
     if (!Directory.Exists("data"))
     {
         Directory.CreateDirectory("data");
     }
     admins      = DataFileAccess.GetAdmins();
     casualUsers = DataFileAccess.GetCasualUsers();
     formalUsers = DataFileAccess.GetFormalUsers();
     parks       = DataFileAccess.GetParks();
     orders      = DataFileAccess.GetOrders();
 }