public static string ActivePage(this HtmlHelper helper, string controller, string action, string activeClassName = "active") { if (activeClassName == null) { throw new ArgumentNullException(nameof(activeClassName)); } return(helper.ActivePage(controller, action, null, activeClassName)); }
public static string ActivePage(this HtmlHelper helper, string controller, string activeClassName = "active") { return(helper.ActivePage(controller, null, activeClassName)); }