public ActionResult Index()
        {
            List <PersonInfo> allPersonInfos = PersonInfo.GetAllInfo();
            PersonInfo        newperson      = PersonInfo.Find(1);

            return(View("App", newperson));
        }
Example #2
0
        public ActionResult Index()
        {
            List <PersonInfo> allPersonInfos = PersonInfo.GetAllInfo();

            return(View(allPersonInfos));
        }