private void _ListView_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            var book = ((FrameworkElement)e.OriginalSource).DataContext as Book;

            if (book != null)
            {
                var bookWindow = new BookWindow(book, db, "EDIT");
                bookWindow.Owner = this;
                var result = bookWindow.ShowDialog();
                if (result == true && db.LastAction == "REMOVE")
                {
                    LoadBooksFromDb(applyFilter: true);
                }
            }
        }
        /// <summary>
        /// Добавление новой книги
        /// </summary>
        private void AddBook()
        {
            var newBook = new Book
            {
                PostId      = db.GetCustomPostId(),
                Title       = "",
                Category    = model.Filter.Category,
                DownloadUrl = @"D:\books\google_drive\itdb\extra_books\"
            };
            var bookWindow = new BookWindow(newBook, db);

            bookWindow.Owner = this;
            var result = bookWindow.ShowDialog();

            if (result.HasValue && result.Value)
            {
                LoadBooksFromDb(applyFilter: true);
            }
        }