public ActionResult List(string query)
        {
            //Instantiate a list of people and assign the search event
            List <Person> persons             = personRepository.ReadByQuery(query);
            List <Person> personOrderDobByAsc = persons.OrderBy(p => p.Dob).ToList();

            //If the list is empty, return page 404
            if (persons.Count == 0)
            {
                return(RedirectToAction("Error404"));
            }

            return(View(personOrderDobByAsc));
        }