I\'m asking because the partial view I will create is blank, with the purpose of creating a new child entity. I just need a quick, regardless if dirty, way to access the Pa
This ended up working for me.
@model MyViewModel ... @Html.Partial("_myPartial", new ViewDataDictionary { { "id", Model.Id } })
And inside the partial view, used this...
@ViewBag.id