Example #1
0
 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));
 }
Example #2
0
 public static string ActivePage(this HtmlHelper helper, string controller, string activeClassName = "active")
 {
     return(helper.ActivePage(controller, null, activeClassName));
 }