public void DeleteBook() { BookInfo book = new BookInfo(); Assert.IsTrue(book.DeleteBook("A23")); DataSet ds = book.GetBookInfo("A23"); Assert.IsNotNull(ds); Assert.AreEqual(0, ds.Tables[0].Rows.Count); }
public bool DeleteBook(string bookid) { return(book.DeleteBook(bookid)); }