public static List <TeacherModel> loadAllTeachers()
 {
     {
         AdministratorRepository up          = new AdministratorRepository();
         List <TeacherModel>     teacherList = null;
         try
         {
             teacherList = up.loadAllTeachers();
         }
         catch (Exception ex)
         {
             var mesajEroare = ex.Message + "-" + ex.InnerException;;
         }
         return(teacherList);
     }
 }