示例#1
0
 public void Update(Project project)
 {
     _context.Entry(project).State = EntityState.Modified;
     _context.SaveChanges();
 }
 public void Update(Time time)
 {
     _context.Entry(time).State = EntityState.Modified;
     _context.SaveChanges();
 }
示例#3
0
 public void Update(User user)
 {
     _vibbraContext.Entry(user).State = EntityState.Modified;
     _vibbraContext.SaveChanges();
 }