Пример #1
0
 /// <summary>
 /// 公告详情页
 /// </summary>
 /// <param name="notedetail"></param>
 /// <returns></returns>
 public ActionResult NoticeDetail(int notedetail)
 {
     // 根据传进来的id查询相应的其他数据
     viewModel.Notice = NoticeService.GetEntity(r => r.Id == notedetail);
     return(View(viewModel));
 }