public ActionResult Delete(int?id, [FetchComment(KeyName = "id")] CommentEntity entity) { if (id == null || entity == null) { ModelState.AddModelError("", "参数验证失败."); return(View()); } var vo = MappingManager.CommentViewMapping(entity); return(View(vo)); }