In my Layout.cshtml, I call RenderAction to show a menu for each page request:
Html.RenderAction("NiceMenu", "Widgets", new {area = ""});
WidgetController needs to know that the parent instance of the Controller and Action calls it so that it can display the menu with the desired item selected.
How to know this in the action of the Nikmenen Controller ?
source
share