public async Task <IViewComponentResult> InvokeAsync() { var menu = await _menuManager.GetMainMenuAsync(); return(View("~/Themes/Basic/Components/Menu/Default.cshtml", menu)); }