// GET: Teacher/Edit/5
        public async Task <ActionResult> Edit(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }
            var teacher = await teacherRepo.GetTeacherForId(id.Value);

            if (teacher == null)
            {
                return(NotFound());
            }
            TeacherEducationsVM vm = new TeacherEducationsVM(educationRepo, teacher);

            return(View(vm));
        }