Exemplo n.º 1
0
        public HttpResponseMessage EditSingleTeacher(TeacherModel teacher)
        {
            var teacherRepo           = new TeachersRepository();
            var editSingleTeacherInfo = teacherRepo.UpdateTeacher(teacher);


            return(Request.CreateResponse(System.Net.HttpStatusCode.OK, editSingleTeacherInfo));
        }