Ejemplo n.º 1
0
        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));
        }
Ejemplo n.º 2
0
 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());
 }
Ejemplo n.º 3
0
        public ActionResult GetFormJson(string keyValue)
        {
            var data = noticeBLL.GetEntity(keyValue);

            return(ToJsonResult(data));
        }
Ejemplo n.º 4
0
        /// <summary>
        /// 显示详情
        /// </summary>
        /// <param name="keyValue"></param>
        /// <returns></returns>
        public ActionResult Detail(int keyValue)
        {
            NoticeEntity data = noticebll.GetEntity(keyValue);

            return(View(data));
        }