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

            return(Save());
        }
Exemplo n.º 6
0
 public bool DeleteReview(Review review)
 {
     _reviewContext.Remove(review);
     return(Save());
 }