예제 #1
0
 public void Insert(Person entity)
 {
     _entities.Add(entity);
 }
예제 #2
0
 public void Delete(Person entity)
 {
     _entities.Remove(entity);
 }
예제 #3
0
 public void Delete(Person entity)
 {
     _dataStore.Delete(entity);
     _messenger.Publish(new SampleAppChangedMessage(this));
 }
예제 #4
0
 public void Insert(Person entity)
 {
     _dataStore.Insert(entity);
     _messenger.Publish(new SampleAppChangedMessage(this));
 }
예제 #5
0
 public PersonAddViewModel(ISampleAppService sampleAppService, IMvxLocationWatcher locationWatcher)
     : base(sampleAppService, locationWatcher)
 {
     Person = new Person();
 }