コード例 #1
0
 public bool DeleteReview(Review review)
 {
     _reviewContext.Remove(review);
     return(Save());
 }
コード例 #2
0
        public bool DeleteCategory(Category category)
        {
            _categoryContext.Remove(category);

            return(Save());
        }
コード例 #3
0
 public bool DeleteReviewer(Reviewer reviewer)
 {
     _reviewerDbContext.Remove(reviewer);
     return(Save());
 }
コード例 #4
0
 public bool DeleteAuthor(Author author)
 {
     _authorRepository.Remove(author);
     return(Save());
 }
コード例 #5
0
        public bool DeleteCountry(Country country)
        {
            _countryContext.Remove(country);

            return(Save());
        }
コード例 #6
0
 public bool DeleteBook(Book book)
 {
     _bookDbContext.Remove(book);
     return(Save());
 }