예제 #1
0
        public void sAddBook(string title, string author)
        {
            Book temp = new Book();

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