Exemplo n.º 1
0
        public async Task <IActionResult> QualifDist(int?activeonly)
        {
            bool includeInactive;

            if (activeonly.HasValue && activeonly.Value == 0)
            {
                includeInactive = true;
            }
            else
            {
                includeInactive = false;
            }
            ViewBag.IncludeInactive = includeInactive;
            var pivot = await _analysisService.GetOrganizationDistribution(includeInactive);

            return(View(pivot));
        }