public ActionResult Edit_Ajax(int id) { TeacherDataController controller = new TeacherDataController(); Teacher teacher = controller.getTeacher(id); return(View(teacher)); }
public ActionResult Show(int?teacherId) { TeacherDataController controller = new TeacherDataController(); Teacher teacher = controller.getTeacher(teacherId); return(View(teacher)); }