// GET: Home
        public ActionResult Index()
        {
            var agent = new PeopleDataAgent();

            ViewBag.People = agent.GetAllPeople();
            return(View());
        }
        public JsonResult GetPeople(SearchObject search)
        {
            if (search.IncludeDelay)
            {
                Thread.Sleep(5000);
            }
            var agent = new PeopleDataAgent();

            var list = agent.GetPeople(search.SearchValue);

            return(Json(list));
        }