示例#1
0
        public ActionResult StudentUpdateForm(int id)
        {
            Student thisStudent = Student.Find(id);

            return(View("StudentUpdate", thisStudent));
        }
示例#2
0
        public ActionResult StudentIndex()
        {
            List <Student> allStudents = Student.GetAll();

            return(View(allStudents));
        }