public void Update(GradeReport entity) { _gradereportContext.Entity(entity).State= System.Data.Entity.EntityState.Modified; _gradereportContext.SaveChanges(); }
public void Update(Student entity) { _studentContext.Entity(entity).State= System.Data.Entity.EntityState.Modified; _studentContext.SaveChanges(); }
public void Update(Professor entity) { _professorContext.Entity(entity).State= System.Data.Entity.EntityState.Modified; _professorContext.SaveChanges(); }