private void RefreshLibrary() { Books = new ObservableCollection <LibraryItemViewModel>(libraryModel.GetLibraryItems()); NotifyPropertyChanged(nameof(Books)); }
private void RefreshLibrary() { Books = new ObservableCollection <LibraryItemViewModel>(libraryModel.GetLibraryItems()); OnPropertyChanged(() => Books); }