Пример #1
0
        public Book AddExperimentBook(Book book)
        {
            BookHandler myHandler = new BookHandler();
            Book b = new Book();

            b = myHandler.experimentalBook(book);

            return b;
        }
Пример #2
0
 public List<Book> AuthorBookSearch(string query)
 {
     BookHandler myHandler = new BookHandler(); return myHandler.AuthorBookSearch(query);
 }
Пример #3
0
 public List<Book> GetDeletedBooks()
 {
     BookHandler myHandler = new BookHandler();
     return myHandler.GetDeletedBooks();
 }
Пример #4
0
 public BookAuthor TrialInsertBook(Book book)
 {
     BookHandler myHandler = new BookHandler(); return myHandler.TrailInsertBook(book);
 }
Пример #5
0
        public bool UpdateBookProduct(Book book)
        {
            BookHandler myHandler = new BookHandler();
            Book bk = new Book();

            return myHandler.UpdateBookProduct(book);
        }
Пример #6
0
 public List<Book> ISBNFromQueryBookSearch(string query, double FromPrice)
 {
     BookHandler myHandler = new BookHandler(); return myHandler.ISBNFromQueryBookSearch(query, FromPrice);
 }
Пример #7
0
 public List<Book> PublisherToQueryBookSearch(string query, double ToPrice)
 {
     BookHandler myHandler = new BookHandler(); return myHandler.PublisherToQueryBookSearch(query, ToPrice);
 }
Пример #8
0
 public List<Book> CheckDuplicatedBook(string isbn)
 {
     BookHandler myHandler = new BookHandler(); return myHandler.CheckDuplicateBook(isbn);
 }
Пример #9
0
 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);
 }