示例#1
0
        public ActionResult View5()
        {
            var lst = new MVC201612.Models.Module02.PersonHelper().GetAllPeople();

            ViewBag.fakturaer = Guid.NewGuid().ToString();
            return(View(lst));
        }
示例#2
0
        public ActionResult Edit()
        {
            // test resource
            var l = MVC201612.Models.Resource.Views.Module02.edit.country;

            var p = new MVC201612.Models.Module02.PersonHelper().GetPerson();

            return(View(p));
        }
示例#3
0
        public ActionResult JSON()
        {
            var lst = new MVC201612.Models.Module02.PersonHelper().GetAllPeople();

            return(Json(lst, JsonRequestBehavior.AllowGet));
        }
示例#4
0
        public ActionResult ListVM()
        {
            var lst = new MVC201612.Models.Module02.PersonHelper().GetAllPeopleAsViewModel();

            return(View(lst));
        }