How can I send variables to my partial view?
And I don't mean like my model, but values seperate from that
So instead of @Html.Partial("~/Views/Test/_Partial.cshtml", Model)
It would be something like @Html.Partial("~/Views/Test/_Partial.cshtml", Variable = 2)
And then in my partial view I could just use it like
// html @Variable // html
@Html.Partial("MyPartial", "MyVariable")and in the partial@model string, but a better solution would be to use a child action that returns the partial, and pass a variable to the method