Esempio n. 1
0
        public bool DeleteCountry(Country country)
        {
            _countryContext.Remove(country);
            //_mapper.Map< CountriesDto>(deletedCountry);

            return(Save());
        }
Esempio n. 2
0
 public bool DeleteAuthor(Author author)
 {
     _authorContext.Remove(author);
     return(Save());
 }
Esempio n. 3
0
 public bool DeleteReviewer(Reviewer reviewer)
 {
     _context.Remove(reviewer);
     return(Save());
 }
 public bool DeleteBook(Book book)
 {
     _bookContext.Remove(book);
     return(Save());
 }