There are several ways how to pass value to an action method in ASP MVC. It depends on the type of request.
Example for GET request
// navigation to action
@Html.ActionLink("link","myAction","otherCon", new {controllerNamePar = ViewContext.RouteData.Values["controller"]}
// render result of action into current view
@{Html.RenderAction("myAction","otherCon", new {controllerNamePar = ViewContext.RouteData.Values["controller"]}}
controllerNamePar
will be sent as the query string in the url.
Example for POST request
@using (Html.BeginForm("MyAction", "OtherCon", FormMethod.Post))
{
@Html.Hidden("controllerNamePar", ViewContext.RouteData.Values["controller"])
<input type="submit" value="OK" />
}
controllerNamePar
will be sent as the part of html form.