public ExchangePacketConfig GetExchangePacketConfig(ExchangePacketConfig searchExchangePacketConfig) { _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient(); ExchangePacketConfig lists = new ExchangePacketConfig(); try { lists = _admin.GetExchangePacketConfig(searchExchangePacketConfig); _admin.Close(); return(lists); } catch (Exception ex) { _admin.CloseCatch(ex, "GetExchangePacketConfig failed"); return(lists); } }