public ViewResult DisplayByLastName(string id)
        {
            Enrollments test = new Enrollments { enrollments = new List<Enrollment> { new Enrollment { FirstName = "Umais", LastName = "Siddiqui" }, new Enrollment { FirstName = "Naveed", LastName = "Aziz" }, new Enrollment { FirstName = "Farah", LastName = "Aziz" }, new Enrollment { FirstName = "Tayyib", LastName = "Siddiqui" }, new Enrollment { FirstName = "Amir", LastName = "saleem" } } };
            IEnumerable<Enrollment> a=test.getEnrollmentmembersByLastName(id);
            string result = "";
            foreach (Enrollment b in a)
            {
                result += "  " + "FirstName:" + b.FirstName + " LastName:" + b.LastName;
            }

            return View("TestExtension", (object) String.Format("Here is the List:{0}",result));
        }