public bool DeleteCategory(Category category)
 {
     _categoryContext.Remove(category);
     return(Save());
 }
 public bool DeleteAuthor(Author author)
 {
     _authorContext.Remove(author);
     return(Save());
 }
Beispiel #3
0
 public bool DeleteReviewer(Reviewer reviewer)
 {
     _reviewerContext.Remove(reviewer);
     return(Save());
 }
 public bool DeleteBook(Book book)
 {
     _bookContext.Remove(book);
     return(Save());
 }
        public bool DeleteCountry(Country country)
        {
            _countryContext.Remove(country);

            return(Save());
        }
Beispiel #6
0
 public bool DeleteReview(Review review)
 {
     _reviewContext.Remove(review);
     return(Save());
 }