public ActionResult NewDetail(string keyValue) { var model = noticeBLL.GetEntity(keyValue); FileInfoBLL fi = new FileInfoBLL(); var list = fi.GetFilesByRecIdNew(keyValue); ViewData["files"] = list; return(View(model)); }
public ActionResult NoticeDetail(string Id) { //浏览量+1 noticeBLL.PvPlusOne(Id); messageReadBLL.SetForm(OperatorProvider.Provider.Current().UserId, Id, noticeCategory, OperatType.AppRead); ViewBag.NoticeEntity = noticeBLL.GetEntity(Id); return(View()); }
public ActionResult GetFormJson(string keyValue) { var data = noticeBLL.GetEntity(keyValue); return(ToJsonResult(data)); }
/// <summary> /// 显示详情 /// </summary> /// <param name="keyValue"></param> /// <returns></returns> public ActionResult Detail(int keyValue) { NoticeEntity data = noticebll.GetEntity(keyValue); return(View(data)); }