public ActionResult EditStudent(Student student)
        {
            student = _repository.Add(student);

            Debug.WriteLine("Student added. Name: {0}, ID: {1}", student.FirstName, student.ID);

            return RedirectToAction("Detail", new { id = student.ID });
        }
        public ActionResult Index()
        {
            List<Student> model = new List<Student>();
            Student s1 = new Student {
                FirstName = "Bob",
                LastName = "Smith",
                NetworkID = "123456",
                Email = "*****@*****.**",
                Phone = "555-555-1234"
            };
            Student s2 = new Student {
                FirstName = "Jane",
                LastName = "Eyre",
                NetworkID = "123457",
                Email = "*****@*****.**",
                Phone = "555-555-1235"
            };

            model.Add(s1);
            model.Add(s2);

            return View(model);
        }