public string[] setStudentActivityData(createStudentActivity StudentData, List<string> DelParticipantsID, List<string> NewParticipantsValue) { CaseDataBase SDB = new CaseDataBase(); if (int.Parse(SDB._StaffhaveRoles[1]) == 1) { return SDB.setStudentActivityData(StudentData, DelParticipantsID, NewParticipantsValue); } else { return new string[2] { _noRole, _errorMsg }; } }