public List <ExchangePacketConfig> GetExchangePacketConfigList(ref DataPage dp) { _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient(); List <ExchangePacketConfig> lists = new List <ExchangePacketConfig>(); try { lists = _admin.GetExchangePacketConfigList(ref dp); _admin.Close(); return(lists); } catch (Exception ex) { _admin.CloseCatch(ex, "GetExchangePacketConfigList failed"); return(lists); } }