Exemplo n.º 1
0
 public string[] setStudentServiceData(CreateStudentService StudentService)
 {
     CaseDataBase SDB = new CaseDataBase();
     if (int.Parse(SDB._StaffhaveRoles[1]) == 1)
     {
         return SDB.setStudentService(StudentService);
     }
     else
     {
         return new string[2] { _noRole, _errorMsg };
     }
 }