private void SaveExecute() //SaveExecut { try { using (Service1Client wcf = new Service1Client()) { wcf.AddCustomer(Customer); isUpdateCustomer = true; addCustomer.Close(); } } catch (Exception ex) { MessageBox.Show(ex.ToString()); } }
public void ExecuteOkCommand(object obj) { _mView.DialogResult = true; _mView.Close(); }