Esempio n. 1
0
        public async Task <IActionResult> Index()
        {
            var model = new ProjDistViewModel {
                ActiveOnly       = true,
                LeadingGroupOnly = true,
            };

            model.Pivot = await GetProjectDistribution(model);

            return(View(model));
        }
Esempio n. 2
0
        public async Task <IActionResult> Index(ProjDistViewModel model)
        {
            model.Pivot = await GetProjectDistribution(model);

            return(View(model));
        }
Esempio n. 3
0
 async Task <GroupPivot> GetProjectDistribution(ProjDistViewModel model) =>
 await _analysisService.GetProjectDistribution(
     model.ActiveOnly, model.GetSearchCategories()
     );