You can add IsAdminto your model or make it a static property that stores the value in HttpContext.Current.Items. Alternatively, it can dynamically read the value from HttpContext.Request.
public static bool IsAdmin
{
get { return (HttpContext.Current.Items["IsAdmin"] as bool?) ?? false; }
set { HttpContext.Current.Items["IsAdmin"] = value; }
}
You can create your own extension method like this
public static Content(this UrlHelper helper, string contentPath, bool isAdmin)
{
helper.Content(contentPath);
}