2728293031323334353637
private void fillTable(String type , String name){ BookModel bookModel = new BookModel(); List<Book> books = null; switch (type) { case "whereName": books = bookModel.whereName(name); break; case "all": books = bookModel.all(); break; default: ;