public string[] setStaffCreditParticipantDataBase(string cID, List<string> DelParticipantsID, List<string> NewParticipantsValue) { StaffDataBase sDB = new StaffDataBase(); sDB.personnelFunction(); if (int.Parse(sDB._StaffhaveRoles[1]) == 1) { return sDB.setStaffCreditParticipantDataBase(cID, DelParticipantsID, NewParticipantsValue); } else { return new string[2] { _noRole, _errorMsg }; } }