Exemplo n.º 1
0
        public IActionResult Results(int beginningYear, int endYear)
        {
            //redirect to results action with query output
            List <TimePerson> persons = TimePerson.GetPerson(beginningYear, endYear);

            return(View(persons));
        }
Exemplo n.º 2
0
 public IActionResult Results(int startyear, int endyear)
 {
     return(View(TimePerson.GetPerson(startyear, endyear)));
 }