public void sAddBook(string title, string author) { Book temp = new Book(); temp.Title = title; temp.Author = author; BooksDataClass.addBook(temp); }
public List <Book> sViewBookByName(string name) { return(BooksDataClass.searchByName(name)); }
public List <Book> sViewBookByAuthor(string author) { return(BooksDataClass.searchByAuthor(author)); }