public void NotifyCustomerEdited(Klant klant) { Customers.Remove(Customers.FirstOrDefault(k => k.Id == klant.Id)); Customers.Add(new KlantVM(klant)); _editCustomerWindow.Close(); _editCustomerWindow = null; }
private void EditCustomerViewModelSaved(object sender, EventArgs e) { EditWindow.Close(); }