Route Id overrides Model.Id
问题 I have a route like this: Conference/Committees/1 And within that page, it cycles through the Committees for a Conference (where the Conference Id = 1). I have a partial view that renders an edit style page for a selected committee, with a route like this: Conference/Committees/1?committeeId=2 In debug, the model data is correct, and the Committee has an Id = 2. However, when I use the following Razor statement: @Html.HiddenFor(model => model.Id) with the following model: @model munhq.Models