Beispiel #1
0
        public PartialViewResult TopMenu(string activeMenu = "")
        {
            var model = new TopMenuViewModel
            {
                MainMenu           = _userNavigationManager.GetMenu("MainMenu", CurrentSession.UserId),
                ActiveMenuItemName = activeMenu
            };

            return(PartialView("_TopMenu", model));
        }