Exemplo n.º 1
0
 public string[] updateTeacherTemperatureDataBase(List<CreateTeacherSystem> sTemperatureData)
 {
     AdministrationDataBase aDB = new AdministrationDataBase();
     aDB.caseBTFunction();
     if (int.Parse(aDB._StaffhaveRoles[2]) == 1)
     {
         return aDB.updateTeacherTemperatureData(sTemperatureData);
     }
     else
     {
         return new string[2] { _noRole, _errorMsg };
     }
 }