private void Populate(DimensionTree tree)
 {
     foreach (var dimensionDto in tree.GetDimensionDtos())
     {
         var dimensionValues = _starSchemaQuerier.GetValuesOfDimension(dimensionDto);
         dimensionDto.Populate(dimensionValues);
     }
 }
 public FilterViewModel Map(DimensionTree tree)
 {
     var viewModel = new FilterViewModel { Dimensions = new List<FilterDimensionViewModel>() };
     var dimensionDtos = tree.GetDimensionDtos().ToList();
     foreach (var dimensionDto in dimensionDtos)
     {
         var dimensionViewModel = new FilterDimensionViewModel
         {
             DimensionId = dimensionDto.Id,
             DimensionName = dimensionDto.Name,
             Values = new List<DimensionValueViewModel>()
         };
         dimensionViewModel.Values.AddRange(dimensionDto.DimensionValues
             .Select(v => new DimensionValueViewModel {Id = v.Id, Value = v.Value, Checked = true}));
         viewModel.Dimensions.Add(dimensionViewModel);
     }
     return viewModel;
 }