private GraphViewModel GetResultsFor(PlanDefinition definition)
        {
            var dailyResults     = resultsRepository.GetDailyResultsForPerformanceTest(definition);
            var heartBeatResults = resultsRepository.GetHeartBeatResultsForPerformanceTest(definition);

            var dailyLines     = lineMapper.MapToLines(dailyResults);
            var heartBeatLines = lineMapper.MapToLines(heartBeatResults);

            return(new GraphViewModel(definition.Name, dailyLines, heartBeatLines));
        }