Exemplo n.º 1
0
        public Group Create(Group instance)
        {
            var createdGroup = context.Add(instance);

            return(createdGroup.Entity);
        }
Exemplo n.º 2
0
        public Teacher Create(Teacher instance)
        {
            var createdTeacher = context.Add(instance);

            return(createdTeacher.Entity);
        }
Exemplo n.º 3
0
        public Course Create(Course instance)
        {
            var createdCourse = context.Add(instance);

            return(createdCourse.Entity);
        }