public Book AddExperimentBook(Book book)
        {
            BookHandler myHandler = new BookHandler();
            Book b = new Book();

            b = myHandler.experimentalBook(book);

            return b;
        }
 public List<Book> AuthorBookSearch(string query)
 {
     BookHandler myHandler = new BookHandler(); return myHandler.AuthorBookSearch(query);
 }
 public List<Book> GetDeletedBooks()
 {
     BookHandler myHandler = new BookHandler();
     return myHandler.GetDeletedBooks();
 }
 public BookAuthor TrialInsertBook(Book book)
 {
     BookHandler myHandler = new BookHandler(); return myHandler.TrailInsertBook(book);
 }
        public bool UpdateBookProduct(Book book)
        {
            BookHandler myHandler = new BookHandler();
            Book bk = new Book();

            return myHandler.UpdateBookProduct(book);
        }
 public List<Book> ISBNFromQueryBookSearch(string query, double FromPrice)
 {
     BookHandler myHandler = new BookHandler(); return myHandler.ISBNFromQueryBookSearch(query, FromPrice);
 }
 public List<Book> PublisherToQueryBookSearch(string query, double ToPrice)
 {
     BookHandler myHandler = new BookHandler(); return myHandler.PublisherToQueryBookSearch(query, ToPrice);
 }
 public List<Book> CheckDuplicatedBook(string isbn)
 {
     BookHandler myHandler = new BookHandler(); return myHandler.CheckDuplicateBook(isbn);
 }
 public bool CheckProductType(int ProductId)
 {
     BookHandler myHandler = new BookHandler(); return myHandler.CheckProductStatus(ProductId);
 }
示例#10
0
 public List<Book> CategoryBookSearch(string query)
 {
     BookHandler myHandler = new BookHandler(); return myHandler.CategoryBookSearch(query);
 }
示例#11
0
 public List<Book> CategoryToQueryBookSearch(string query, double ToPrice)
 {
     BookHandler myHandler = new BookHandler(); return myHandler.CategoryToQueryBookSearch(query, ToPrice);
 }
示例#12
0
 public List<Book> BookTitleBookSearch(string query)
 {
     BookHandler myHandler = new BookHandler(); return myHandler.BookTitleBookSearch(query);
 }
示例#13
0
 public List<Book> BookTitleBETWEENQueryBookSearch(string query, double FromPrice, double ToPrice)
 {
     BookHandler myHandler = new BookHandler(); return myHandler.BookTitleBETWEENQueryBookSearch(query, ToPrice, FromPrice);
 }
示例#14
0
 public List<Book> BookGlobalSearch(string query)
 {
     BookHandler myHandler = new BookHandler(); return myHandler.GloabalSearch(query);
 }
示例#15
0
 public List<Book> GetNewBooks()
 {
     BookHandler myHandler = new BookHandler(); return myHandler.GetNewBookList();
 }
示例#16
0
 public bool DeleteBook(Book book)
 {
     BookHandler myHandler = new BookHandler();
     return myHandler.DeleteBook(book);
 }
示例#17
0
 public List<Book> ISBNBookSearch(string query)
 {
     BookHandler myHandler = new BookHandler(); return myHandler.ISBNBookSearch(query);
 }
示例#18
0
 public bool AddBook(Book book)
 {
     BookHandler myHandler = new BookHandler();
     return myHandler.InsertBook(book);
 }
示例#19
0
 public List<Book> PublisherBookSearch(string query)
 {
     BookHandler myHandler = new BookHandler(); return myHandler.PublisherBookSearch(query);
 }
示例#20
0
 public List<Book> GetBooksByAuthor(int AuthorID)
 {
     BookHandler myHandler = new BookHandler(); return myHandler.BooksByAuthor(AuthorID);
 }
示例#21
0
 public bool RestoreBook(Book book)
 {
     BookHandler myHandler = new BookHandler();
     return myHandler.RestoreBook(book);
 }
示例#22
0
 public List<Book> GetBooksByCategory(int CategoryID)
 {
     BookHandler myHandler = new BookHandler(); return myHandler.BooksByCategory(CategoryID);
 }
示例#23
0
 public bool UpdateBook(Book book)
 {
     BookHandler myHandler = new BookHandler();
     return myHandler.UpdateBook(book);
 }
示例#24
0
 public List<Book> GetBooksByPublisher(int PublisherId)
 {
     BookHandler myHandler = new BookHandler(); return myHandler.GetPublisherBooks(PublisherId);
 }
示例#25
0
 public Book User_GetBook(int ProductID)
 {
     BookHandler myHandler = new BookHandler(); return myHandler.UGetBookDetails(ProductID);
 }
示例#26
0
 public List<Book> AuthorBETWEENQueryBookSearch(string query, double FromPrice, double ToPrice)
 {
     BookHandler myhandler = new BookHandler(); return myhandler.AuthorBETWEENQueryBookSearch(query, ToPrice, FromPrice);
 }