예제 #1
0
        private async void ShowBookFromStoryWindow(int?itemId)
        {
            var storyBooks = StoryView.GetStoryBooks();

            GetItem(BookView, itemId);

            var result = await _navigationService.ShowDialogAsync(StoreWindows.BookWindow);

            if (result ?? false)
            {
                StoryView.AddStoryBook(storyBooks, BookView.Item.Id);
            }
        }