public bool DeleteReview(Review review)
 {
     _reviewContext.Remove(review);
     return(Save());
 }
Exemplo n.º 2
0
 public bool DeleteReviewer(Reviewer reviewer)
 {
     _reviewerContext.Remove(reviewer);
     return(Save());
 }
 public bool DeleteAuthor(Author author)
 {
     _authorContext.Remove(author);
     return(Save());
 }
Exemplo n.º 4
0
 public bool DeleteCountry(Country country)
 {
     _countryContext.Remove(country);
     return(Save());
 }
 public bool DeleteBook(Book book)
 {
     _bookDbContext.Remove(book);
     return(Save());
 }
 public bool DeleteCategory(Category category)
 {
     _categoryContext.Remove(category);
     return(Save());
 }