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