示例#1
0
 public bool DeleteBook(Book book)
 {
     _bookContext.Remove(book);
     return(Save());
 }
 public bool DeleteAuthor(Author author)
 {
     _authorContext.Remove(author);
     return(Save());
 }
 public bool DeleteReview(Review review)
 {
     _reviewContext.Remove(review);
     return(Save());
 }
 public bool DeleteReviewer(Reviewer reviewer)
 {
     _ReviewerContext.Remove(reviewer);
     return(Save());
 }
示例#5
0
 public bool DeleteCategory(Category category)
 {
     _categoryContext.Remove(category);
     return(Save());
 }
示例#6
0
 public bool DeleteCountry(Country country)
 {
     _countryContext.Remove(country);
     return(Save());
 }