public ActionResult About()
        {
            var students = studentCRUD.StudentList();
            IQueryable <EnrollmentDateGroup> data = from student in students
                                                    group student by student.EnrollmentDate into dateGroup
                                                    select new EnrollmentDateGroup()
            {
                EnrollmentDate = dateGroup.Key,
                StudentCount   = dateGroup.Count()
            };

            return(View(data.ToList()));
        }
        private IQueryable <Student> getStudentList(string searchString)
        {
            System.Linq.IQueryable <Student> students;
            if (System.String.IsNullOrEmpty(searchString))
            {
                students = studentCRUD.StudentList();
            }
            else
            {
                students = studentCRUD.SearchStudentList(searchString);
            }

            return(students);
        }