public void Update(Student student)
 {
     context.Entry(student).State = EntityState.Modified;
     context.SaveChanges();
 }
 public void Update(Model.Task task)
 {
     context.Entry(task).State = EntityState.Modified;
     context.SaveChanges();
 }
 public void Update(User user)
 {
     context.Entry(user).State = EntityState.Modified;
     context.SaveChanges();
 }
Exemple #4
0
 public void Update(Group group)
 {
     context.Entry(group).State = EntityState.Modified;
     context.SaveChanges();
 }
 public void Update(Progress progress)
 {
     context.Entry(progress).State = EntityState.Modified;
     context.SaveChanges();
 }
 public void Update(TimeTable timeTable)
 {
     context.Entry(timeTable).State = EntityState.Modified;
     context.SaveChanges();
 }
 public void Update(Message message)
 {
     context.Entry(message).State = EntityState.Modified;
     context.SaveChanges();
 }