public ActionResult AddBooks(AddDetailBookModel books)
        {
            BookDetailInfo booksInfo = books.GetEntity();
            this.IBookDetailInfoDataProvider.Add(booksInfo);

            BookInfo book = booksInfo.BookInfo;
            book.Avaliable_Inventory = book.Avaliable_Inventory + 1;
            book.Max_Inventory = book.Max_Inventory + 1;

            this.IBookInfoDataProvider.Update(book);

            return RedirectToAction("DetailBook", new { @id = books.BookID });
        }
        public ActionResult EditBooks(AddDetailBookModel model)
        {
            if (model != null)
            {
                BookDetailInfo books = model.GetEntity();
                this.IBookDetailInfoDataProvider.Update(books);

                EditBooksUpdateBook(books, model);
            }

            return RedirectToAction("DetailBook", new { @id = model.BookID });
        }