Exemple #1
0
        public Student Update(Student instance)
        {
            var updatedStudent = context.Update(instance);

            return(updatedStudent.Entity);
        }
Exemple #2
0
        public Group Update(Group instance)
        {
            var updatedGroup = context.Update(instance);

            return(updatedGroup.Entity);
        }
        public Teacher Update(Teacher instance)
        {
            var createdTeacher = context.Update(instance);

            return(createdTeacher.Entity);
        }
Exemple #4
0
        public Course Update(Course instance)
        {
            var updatedCourse = context.Update(instance);

            return(updatedCourse.Entity);
        }