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