Ejemplo n.º 1
0
        public void sAddBook(string title, string author)
        {
            Book temp = new Book();

            temp.Title  = title;
            temp.Author = author;
            BooksDataClass.addBook(temp);
        }
Ejemplo n.º 2
0
 public List <Book> sViewBookByName(string name)
 {
     return(BooksDataClass.searchByName(name));
 }
Ejemplo n.º 3
0
 public List <Book> sViewBookByAuthor(string author)
 {
     return(BooksDataClass.searchByAuthor(author));
 }