communicationTypeTO[] IReferencedataService.GetCommunicationTypes() { communicationTypeTO[] result = null; using (ReferenceDataClient client = new ReferenceDataClient()) { ConfigureClient(client); try { client.Open(); result = client.GetCommunicationTypes(en); client.Close(); } catch (Exception ex) { client.Abort(); throw ex; } return(result); } }
public bool CheckConnection() { bool result = false; using (ReferenceDataClient client = new ReferenceDataClient()) { ConfigureClient(client); try { client.Open(); result = client.CheckConnection(); client.Close(); } catch (Exception ex) { client.Abort(); throw ex; } } return(result); }