public string[] setReturnData1(SearchReturnResult ReturnDataResult) { OtherDataBase sDB = new OtherDataBase(); if (int.Parse(sDB._StaffhaveRoles[1]) == 1) { return sDB.setReturnData1(ReturnDataResult); } else { return new string[2] { _noRole, _errorMsg }; } }