public void Delete(Book book) { _context.Remove(book); _context.SaveChanges(); }
public void Delete(Book book) { _booksAPIContext.Remove(book); SaveContextChanges(_booksAPIContext); }
public void Delete(Book book) { _context.Remove(book); _context.SaveChanges(); }
public void Delete(Book book) { _booksAPIContext.Remove(book); SaveContextChanges(_booksAPIContext); }