예제 #1
0
 public CreateHearingInspection getHearingInspectionDataBase(string sID)
 {
     Audiometry aDB = new Audiometry();
     CreateHearingInspection returnValue=new CreateHearingInspection();
     if (int.Parse(aDB._StaffhaveRoles[3]) == 1)
     {
         returnValue=aDB.getHearingInspectionData(sID);
     }
     else
     {
         returnValue.checkNo = _noRole;
         returnValue.errorMsg = _errorMsg;
     }
     return returnValue;
 }