예제 #1
0
 public void Update(int id, Author newAuthor)
 {
     db.Update(newAuthor);
     db.SaveChanges();
 }
예제 #2
0
 public void Update(int id, Book newbook)
 {
     db.Update(newbook);
     db.SaveChanges();
 }
 public void Update(int Id, Author entity)
 {
     db.Update(entity);
     savechanges();
 }