Exemple #1
0
        public void Update(GradeReport entity)
        {
            _gradereportContext.Entity(entity).State= System.Data.Entity.EntityState.Modified;

            _gradereportContext.SaveChanges();
        }
Exemple #2
0
        public void Update(Student entity)
        {
            _studentContext.Entity(entity).State= System.Data.Entity.EntityState.Modified;

            _studentContext.SaveChanges();
        }
Exemple #3
0
        public void Update(Professor entity)
        {
            _professorContext.Entity(entity).State= System.Data.Entity.EntityState.Modified;

            _professorContext.SaveChanges();
        }