public async Task <IActionResult> Index() { var model = new ProjDistViewModel { ActiveOnly = true, LeadingGroupOnly = true, }; model.Pivot = await GetProjectDistribution(model); return(View(model)); }
public async Task <IActionResult> Index(ProjDistViewModel model) { model.Pivot = await GetProjectDistribution(model); return(View(model)); }
async Task <GroupPivot> GetProjectDistribution(ProjDistViewModel model) => await _analysisService.GetProjectDistribution( model.ActiveOnly, model.GetSearchCategories() );