Example #1
0
 public PhotographersViewModel()
 {
     PhotographerListViewModel = new PhotographerListViewModel();
     PhotographerListViewModel.OnPhotographerChanged += OnPhotographerChanged;
     PhotographerInfoViewModel = new PhotographerInfoViewModel();
     PhotographerInfoViewModel.OnPhotographerUpdated += OnPhotographerUpdated;
 }
Example #2
0
 private void OnPhotographerUpdated(object sender, EventArgs args)
 {
     PhotographersUpdated?.Invoke(this, new EventArgs());
     PhotographerListViewModel?.UpdatePhotographersList();
 }