Exemplo n.º 1
0
        public IActionResult HelpList(int page = 1, int size = 20, string keyword = null, bool?status = null)
        {
            var model = new HelpListModel();

            model.Keyword = keyword;
            model.Helps   = DefaultStorage.HelpPagedList(page, size, keyword, status);
            return(View(model));
        }
Exemplo n.º 2
0
        /// <summary>
        /// 商城帮助列表
        /// </summary>
        public ActionResult List()
        {
            HelpListModel model = new HelpListModel()
            {
                HelpList = AdminHelps.GetHelpList()
            };

            MallUtils.SetAdminRefererCookie(Url.Action("list"));
            return(View(model));
        }