public void EditModel(ModelVM model) { if (model != null) model.EditDialog(); }
public void NewModel() { var model = new ModelVM(this, new Model()); if (model.EditDialog()) Models.Add(model); }
public void EditModel(ModelVM model) { if (model != null) model.EditDialog(); }
public void NewModel() { var model = new ModelVM(this, new Model()); if (model.EditDialog()) Models.Add(model); }