Example #1
0
        //GET /Student/Update/
        public ActionResult Update(int id)
        {
            StudentDataController controller = new StudentDataController();

            Student SelectedStudent = controller.FindStudent(id);

            return(View(SelectedStudent));
        }
Example #2
0
        public ActionResult DeleteConfirm(int id)
        {
            StudentDataController controller = new StudentDataController();

            Student newStudent = controller.FindStudent(id);

            return(View(newStudent));
        }