inside razor form I'm sending value using hidden property like
@Html.HiddenFor(model => model.Name)
this way I'm expecting on controller side parameter to be named as name
in order to fetch this value.
public ActionResult(string MyName)
{
}
How can I send this value
@Html.HiddenFor(model => model.Name)
under different name, so I can on controller side receive that information like
public ActionResult(string MyName)
{
}