private void UpdateCustomer(tmdlcustomer _customer, List<tmdlcontact> lstContact) { wsMDL.IwsMDLClient client = new wsMDL.IwsMDLClient(); try { client.DoUpdateCustomer(baseForm.CurrentContextInfo, _customer, lstContact.ToArray()); } catch (Exception ex) { throw ex; } finally { baseForm.CloseWCF(client); } }