Пример #1
0
        private async void GetTags()
        {
            Tagger t      = new Tagger(new BookRepository());
            var    result = await t.Go();

            Tags = new System.Collections.ObjectModel.ObservableCollection <TagResult>(result);
        }
Пример #2
0
        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";
        }