예제 #1
0
        /// <summary>
        /// 子级评论
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public ActionResult ChildShow(Guid id)
        {
            CommentsCondition condition = new CommentsCondition();

            condition.ToCommentsId = id;
            var news = service.ChildidSearchNotice(condition);
            var info = new PagedList <CommentsInfo>(news, news.Paging);

            //CommentsModel model = new CommentsModel();
            //model.ListCommentsModel = Mapper.Map<List<CommentsModel>>(info);
            ViewBag.ChildId = id;
            return(View(PluginHelper.GetViewPath(this.GetType(), "ChildShow"), info));
        }