public IActionResult Country()
        {
            ViewBag.ContextViewModel = _contextViewModelHelper.Create();
            MapViewModel mapViewModel = new MapViewModel();

            DataAgeDistributionViewModel model = new DataAgeDistributionViewModel(
                _dataAgeDistributionService.Get(),
                _applicationSettings.AgeCategoryColors,
                _applicationSettings.DataAgeDataSetToLayerMap)
            {
                Type = AdministrativeUnitType.Country,
                AdministrativeUnitName = "Norge",
                MetadataUrl            = _applicationSettings.ExternalUrls.MetadataDataAgeDistribution,
                MapViewModel           = mapViewModel
            };

            return(View("Views/FkbData/DataContent/Aspects/DataAgeDistribution.cshtml", model));
        }
        public IActionResult Municipality([FromQuery] int id)
        {
            ViewBag.ContextViewModel = _contextViewModelHelper.Create(_contextViewModelHelper.Id2Key(id, false));
            IMunicipality municipality = _municipalityService.Get(id);
            MapViewModel  mapViewModel = new MapViewModel(municipality);

            DataAgeDistributionViewModel model = new DataAgeDistributionViewModel(
                _dataAgeDistributionService.GetByMunicipality(id),
                _applicationSettings.AgeCategoryColors,
                _applicationSettings.DataAgeDataSetToLayerMap)
            {
                AdministrativeUnitName = municipality.Name,
                Type         = AdministrativeUnitType.Municipality,
                MetadataUrl  = _applicationSettings.ExternalUrls.MetadataDataAgeDistribution,
                MapViewModel = mapViewModel
            };

            return(View("Views/FkbData/DataContent/Aspects/DataAgeDistribution.cshtml", model));
        }