public string[] setStudentDataBase2(StudentData2 StudentData) { CaseDataBase SDB = new CaseDataBase(); //if (int.Parse(SDB._StaffhaveRoles[1]) == 1) //{ return SDB.setStudentDataBase2(StudentData); //} //else //{ // return new string[2] { _noRole, _errorMsg }; //} }