public void Update(Author author) { _context.Entry <Author>(author).State = System.Data.Entity.EntityState.Modified; _context.SaveChanges(); }
public void Update(Publisher publisher) { _context.Entry <Publisher>(publisher).State = System.Data.Entity.EntityState.Modified; _context.SaveChanges(); }
public void Update(Book book) { _context.Entry <Book>(book).State = System.Data.Entity.EntityState.Modified; _context.SaveChanges(); }
public void Update(Category category) { _context.Entry <Category>(category).State = System.Data.Entity.EntityState.Modified; _context.SaveChanges(); }