public SingleDatasetViewModel GetDataset(int id) { var dataset = Data.GetDataset(id); var dimensionTree = _treeBuilder.ConvertToTree(id, true); return(_datasetMapper.Map(dataset, GetFilterValues(dimensionTree))); }
public SingleDatasetViewModel GetDataset(int id = 0) { return(id == 0 ? new SingleDatasetViewModel() : _datasetMapper.Map(Data.GetDataset(id))); }