示例#1
0
        public ActionResult Index(int page = 1, string CodeName = "Danger")
        {
            var webType = Catesvc.GetWebType();

            ViewData["WebType"] = webType.Rows;
            CodeName            = Request.QueryString["webType"] ?? CodeName;
            var list = svc.PageList(page, 10, CodeName);

            ViewData["PageList"] = list;
            return(View());
        }
示例#2
0
 public ActionResult CustomerList(string webType)
 {
     return(Json(csv.PageList(1, int.MaxValue, webType)));
 }