// GET: AgeList
 public ActionResult Index(int year, int ageMin, int ageMax)
 {
     var list = new AgeList(year, ageMin, ageMax);
     var ages = list.GetList();
     return View(ages);
 }
Example #2
0
 public void GetListCountTest()
 {
     var list = new AgeList(2000, 5, 95);
     Assert.AreEqual<int>(list.GetList().Count(), 91);
 }