Ejemplo n.º 1
0
        public ActionResult StudentUpdateForm(int id)
        {
            Student thisStudent = Student.Find(id);

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

            return(View(allStudents));
        }