標準の ASP.NET MVC フォーム ポストがあります。
例えば。
<% using (Html.BeginForm<CommentController>(c => c.Create())) { %>
..
<% } %>
(and in the controller)
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult Create(Comment comment)
{ .. }
では、オブジェクトに存在する可能性のある、またはプロパティなどの特定の値を無視するようにするにはどうすればよいでしょうか?ID
CreatedOn
Comment
除外/ブラックリストを定義する方法はありますか?