private async void GetTags() { Tagger t = new Tagger(new BookRepository()); var result = await t.Go(); Tags = new System.Collections.ObjectModel.ObservableCollection <TagResult>(result); }
private async void RefreshBooksFromDb() { AllBooks = await _bookService.GetAllAsync(); FilteredBooks = new ObservableCollection <Book>(AllBooks); Tagger t = new Tagger(new BookRepository()); var result = await t.Go(); Tags = new System.Collections.ObjectModel.ObservableCollection <TagResult>(result); UpdateShelfBooks(); FilterCount = "Found " + FilteredBooks.Count + " results"; }