Beispiel #1
0
 public void UpdateCourse(Course course)
 {
     context.Entry(course).State = EntityState.Modified;
 }
 public void UpdateStudent(Student student)
 {
     context.Entry(student).State = EntityState.Modified;
 }