So I need to call an action on another controller in another area in .net
Reason being I have some conditional logic to determine whether or not to display something and that is common to my website and mobile version.
So in my mobile site(in a separate area called mobile) I would like to be able to do something like
@Html.Action("GetVideoHtml","Service",null)
Where Service is a controller in my default area and GetVideoHtml is the action, however again, I am in the mobile area. I could copy and paste the action into a local action but that seems silly
Thanks in advance
Specifying
area = ""in the route values does the trick: