public async Task <IActionResult> Index() { var navs = await _columnInfoAppService.GetChildrenColumnInfos(new GetChildrenColumnInfosInput { IsNav = true, IsOnlyGetRecycleData = false }); return(View(navs)); }
public async Task <IActionResult> Index() { var getColumnInfosInput = new GetColumnInfosInput { SkipCount = 0, MaxResultCount = 1000 }; var columnInfos = await _columnInfoAppService.GetColumnInfos(getColumnInfosInput); var navs = await _columnInfoAppService.GetChildrenColumnInfos(new GetChildrenColumnInfosInput { IsNav = true, IsOnlyGetRecycleData = false }); ViewData["Nav"] = navs; return(View(columnInfos)); }