public string[] setPropertyChangesRecord(PropertyChangesExplainData propertyChangesData) { PropertyDataBase pDB = new PropertyDataBase(); pDB.propertyFunction(); if (int.Parse(pDB._StaffhaveRoles[1]) == 1) { return pDB.setPropertyChangesRecord(propertyChangesData); } else { return new string[2] { _noRole, _errorMsg }; } }