Пример #1
0
 public string[] updateHearLossDataBase(List<UpdateHearLoss> sTemperatureData ,int SID)
 {
     AdministrationDataBase aDB = new AdministrationDataBase();
     aDB.caseBTFunction();
     if (int.Parse(aDB._StaffhaveRoles[2]) == 1)
     {
         return aDB.UpdateHearLoss(sTemperatureData,SID);
     }
     else
     {
         return new string[2] { _noRole, _errorMsg };
     }
 }