Example #1
0
 public void Insert(Person entity)
 {
     _entities.Add(entity);
 }
Example #2
0
 public void Delete(Person entity)
 {
     _entities.Remove(entity);
 }
Example #3
0
 public void Delete(Person entity)
 {
     _dataStore.Delete(entity);
     _messenger.Publish(new SampleAppChangedMessage(this));
 }
Example #4
0
 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();
 }