Esempio n. 1
0
 public string[] createStaffWorkData(staffWorkData WorkData)
 {
     StaffDataBase sDB = new StaffDataBase();
     sDB.personnelFunction();
     if (int.Parse(sDB._StaffhaveRoles[2]) == 1)
     {
         return sDB.createStaffWorkData(WorkData);
     }
     else
     {
         return new string[2] { _noRole, _errorMsg };
     }
 }