public applicationTO SaveApplication(applicationTO application) { applicationTO result = null; using (CaseManagementClient client = new CaseManagementClient()) { ConfigureClient(client); try { client.Open(); result = client.SaveApplication(application); client.Close(); } catch (Exception ex) { client.Abort(); throw ex; } } return(result); }
public bool CheckConnection() { bool result = false; using (CaseManagementClient client = new CaseManagementClient()) { ConfigureClient(client); try { client.Open(); result = client.CheckConnection(); client.Close(); } catch (Exception ex) { client.Abort(); throw ex; } } return(result); }
public webservices.casemanagement.extra.partyTO SaveParty(webservices.casemanagement.extra.partyTO party) { partyTO result = null; using (CaseManagementClient client = new CaseManagementClient()) { ConfigureClient(client); try { client.Open(); result = client.SaveParty(party); client.Close(); } catch (Exception ex) { client.Abort(); throw ex; } } return(result); }
public applicationTO GetApplication(string id) { applicationTO result = null; using (CaseManagementClient client = new CaseManagementClient()) { ConfigureClient(client); try { client.Open(); result = client.GetApplication(id); client.Close(); } catch (Exception ex) { client.Abort(); throw; } } return(result); }