Пример #1
0
 public bool DeleteCountry(Country country)
 {
     _bookDBContext.Remove(country);
     return(Save());
 }
Пример #2
0
 public bool DeleteBook(Book book)
 {
     _bookDBContext.Remove(book);
     return(Save());
 }
Пример #3
0
 public bool DeleteAuthor(Author author)
 {
     _bookDBContext.Remove(author);
     return(Save());
 }
Пример #4
0
 public bool DeleteCategory(Category category)
 {
     _bookDBContext.Remove(category);
     return(Save());
 }
Пример #5
0
 public bool DeleteReview(Review review)
 {
     _reviewRepository.Remove(review);
     return(Save());
 }