示例#1
0
        public JsonResult List()
        {
            var list = _heroAppService.GetList();

            return(Json(list, JsonRequestBehavior.AllowGet));
        }
示例#2
0
 public ActionResult Index()
 {
     return(View(_heroAppService.GetList()));
 }