Created
October 16, 2018 02:22
-
-
Save jinan-kordab/7b4f3c0fb2ea7955fecd193b6c456ff6 to your computer and use it in GitHub Desktop.
Index action result for Dynamic Menu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public ActionResult Index() | |
| { | |
| List<Models.OurMenu> OurMenus = Helpers.MenuHelper.GetMenus(); | |
| ASPNETMVCNavigationMenu.Models.MenuModel menuModel = new Models.MenuModel(); | |
| menuModel.menus = OurMenus; | |
| return View("Index",menuModel); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment