Esempio n. 1
0
        public async Task <IViewComponentResult> InvokeAsync()
        {
            var menu = await _menuManager.GetMainMenuAsync();

            return(View("~/Themes/Basic/Components/Menu/Default.cshtml", menu));
        }