public bool DeleteReview(Review review)
 {
     reviewContext.Remove(review);
     return(Save());
 }
 public bool DeleteCategory(Category category)
 {
     categoryContext.Remove(category);
     return(Save());
 }
 public bool DeleteCountry(Country country)
 {
     countryContext.Remove(country);
     return(Save());
 }
Exemple #4
0
 public bool DeleteBook(Book book)
 {
     bookContext.Remove(book);
     return(Save());
 }
 public bool DeleteAuthor(Author author)
 {
     authorContext.Remove(author);
     return(Save());
 }
 public bool DeleteReviewer(Reviewer reviewer)
 {
     reviewerContext.Remove(reviewer);
     return(Save());
 }