public static List <NavItem> GetNavItems(this IHtmlHelper html, string key) => ViewUtils.GetNavItems(key);
public List <NavItem> menuItems() => ViewUtils.GetNavItems("Menu");
public static List <NavItem> MenuItems(this IHtmlHelper html) => ViewUtils.GetNavItems("Menu");
/// <summary> /// Navs the items. /// </summary> /// <param name="key">The key.</param> /// <returns>List<NavItem>.</returns> public List <NavItem> navItems(string key) => ViewUtils.GetNavItems(key);