Ejemplo n.º 1
0
        public Teacher Create(TeacherViewModel teacher)
        {
            Teacher new_Teacher = new Teacher()
            {
                F_Name = teacher.F_Name,
                L_Name = teacher.L_Name,
                Title  = teacher.Title,
                E_mail = teacher.E_mail
            };

            return(_teacherRepo.Create(new_Teacher));
        }