コード例 #1
0
        public PartialViewResult CounterStatistics()
        {
            var model = new ModelSystemConfigItem
            {
            };

            return(PartialView(model));
        }
コード例 #2
0
        public PartialViewResult FanPage(int ctrId, string url)
        {
            var model = new ModelSystemConfigItem {
                CtrId = ctrId, CtrUrl = url
            };
            var item = _sysbl.GetKey(ctrId);

            model.Value = item != null ? item.Value : "";
            return(PartialView(model));
        }
コード例 #3
0
        public PartialViewResult Contact2(int ctrId, string url)
        {
            var model = new ModelSystemConfigItem
            {
                Item   = _bl.SysConfigItems(),
                CtrId  = ctrId,
                CtrUrl = url
            };

            return(PartialView(model));
        }
コード例 #4
0
        public ActionResult ListItems()
        {
            var model = new ModelSystemConfigItem
            {
                ListItem = _systemConfigDa.GetListSimpleByRequest(Request),
                PageHtml = _systemConfigDa.GridHtmlPage
            };

            ViewData.Model = model;
            return(View());
        }
コード例 #5
0
        public PartialViewResult Config(int ctrId, string url)
        {
            var model = new ModelSystemConfigItem
            {
                Item        = _bl.SysConfigItems(),
                LstMapItems = _googleMapBl.GetAllListSimple(),
                CtrId       = ctrId,
                CtrUrl      = url
            };

            return(PartialView(model));
        }