//GET : /Student/List
        //GET : /Api/StudentData/ListStudents/{SearchKey}

        public ActionResult List(String SearchKey = null)
        {
            StudentDataController controller = new StudentDataController();
            IEnumerable <Student> Students   = controller.ListStudents(SearchKey);

            return(View(Students));
        }
        //GET : /Student/Show/{id}
        public ActionResult Show(int id)
        {
            StudentDataController controller = new StudentDataController();
            Student NewStudent = controller.FindStudent(id);

            if (NewStudent != null)
            {
                //ClassDataController classDataController = new ClassDataController();
                //IEnumerable<Class> listOfStudentClasses = classDataController.ListStudentsClasses(id);

                //NewStudent.ListOfClasses = listOfStudentClasses;
            }

            return(View(NewStudent));
        }