示例#1
0
        public AlumnoEntity Update(AlumnoEntity alumno)
        {
            AlumnoEntity updated = repository.Update(alumno);

            context.Save();

            return(updated);
        }
示例#2
0
        public AlumnoEntity Create(AlumnoEntity alumno)
        {
            AlumnoEntity created = repository.Create(alumno);

            context.Save();

            return(created);
        }