public IActionResult Announcement(string hid) { HelpDetailView helpDetail = new HelpDetailView(); if (!hid.IsEmpty()) { helpDetail = AutoMapper.Mapper.Map <HelpDetailView>(_HelpService.GetForm(hid)); } AddPageCrumbs("网站公告"); return(View(helpDetail)); }
public ActionResult GetFormJson(string keyValue) { var data = _HelpService.GetForm(keyValue); return(Content(data.ToJson())); }