public void Insert(Person entity) { _entities.Add(entity); }
public void Delete(Person entity) { _entities.Remove(entity); }
public void Delete(Person entity) { _dataStore.Delete(entity); _messenger.Publish(new SampleAppChangedMessage(this)); }
public void Insert(Person entity) { _dataStore.Insert(entity); _messenger.Publish(new SampleAppChangedMessage(this)); }
public PersonAddViewModel(ISampleAppService sampleAppService, IMvxLocationWatcher locationWatcher) : base(sampleAppService, locationWatcher) { Person = new Person(); }