Example #1
0
 public string[] createNewTeacherDataBase(CreateNewTeacher StaffData)
 {
     StaffDataBase sDB = new StaffDataBase();
     sDB.personnelFunction();
     if (int.Parse(sDB._StaffhaveRoles[2]) == 1)
     {
         return sDB.createNewTeacherDataBase(StaffData);
     }
     else
     {
         return new string[2] { _noRole, _errorMsg };
     }
 }