Mvc model id 0 on post
I've seen this happen before, it could be a bug. I have been able to work around it by adding the properties I need to be included in the post by not using the specific's view template syntax.
Instead of this:
@Html.HiddenFor(m => m.Id)
Use this:
<input type="hidden" value="@Model.Id" name="Id"/>