public string[] setApplyPropertyDataBase(CreateApplyProperty applyPropertyData) { PropertyDataBase pDB = new PropertyDataBase(); pDB.applyFunction(); if (int.Parse(pDB._StaffhaveRoles[1]) == 1) { return pDB.setApplyPropertyDataBase(applyPropertyData); } else { return new string[2] { _noRole, _errorMsg }; } }