public async Task <IViewComponentResult> InvokeAsync() { var menus = await _menuAppService.GetAllList(it => it.Type == 0); return(View(_menuAppService.ConvertL2T(menus, Request.Path))); }