예제 #1
0
 public void Update(int id, Role role)
 {
     _db.Entry(role).State = EntityState.Modified;
     _db.SaveChanges();
 }
예제 #2
0
 public void Update(int id, Project project)
 {
     _db.Entry(project).State = EntityState.Modified;
     _db.SaveChanges();
 }
예제 #3
0
 public void Update(int id, Person person)
 {
     _db.Entry(person).State = EntityState.Modified;
     _db.SaveChanges();
 }