/// <summary> /// 公告详细界面 /// </summary> /// <param name="noticId"></param> /// <returns></returns> public ActionResult DetailView(int noticeId) { Notice noticeDetail = ncBase.CurrentEntities.Notice.Where(n => n.NoticeId == noticeId).FirstOrDefault(); if (noticeDetail != null) { noticeBll.NoticeSetIsRead(noticeId, this.GetLoginUser().UserID); return(View(noticeDetail)); } return(View(new Notice())); }