public void DeleteBookFromDatabase() { Books book = new Books() { id = 104, author = "Jane Austin", title = "Awesome book", type = "Classic", penaltyCost = 20, state = 1 }; Assert.IsTrue(BookCRUD.addBook(book.id, book.title, book.author, book.type, book.penaltyCost, DateTime.Today, (int)book.state)); Assert.IsTrue(BookCRUD.removeBook(book.id)); }
private void BookDelete() { BookCRUD.removeBook(this.BookId); }