Accessing Linq Values in ViewData
- by Jemes
I'm having trouble accessing the id, area and theme values in my ViewData.
They are being set in my action filter but when I get to the Site.Master I don't have access to them.
Any help or advice would be great.
ActionFilter
public override void OnActionExecuting(ActionExecutingContext filterContext)
{
int SectionID =…