public BenchmarkingData GetForCurrentMandant(DateTime jahrDateTime)
        {
            var q = transactionScopeProvider.Queryable <MandantDetails>()
                    .OrderBy(b => b.Id)
                    .Where(
                d =>
                d.ErfassungsPeriod.Erfassungsjahr.Year == jahrDateTime.Year &&
                d.Mandant.Id == securityService.GetCurrentMandant().Id);
            var result = ForMandantList(q);
            BenchmarkingData benchmarkingData = kenngroessenFruehererJahreBenchmarkingDataService.GetForCurrentMandant(jahrDateTime);

            if (benchmarkingData != null)
            {
                result.Add(benchmarkingData);
            }
            return(result.First());
        }
        public BenchmarkingData GetForCurrentMandant(DateTime jahrDateTime)
        {
            var result = new List <BenchmarkingData>();

            var mandantIds = new[] { securityService.GetCurrentMandant().Id };

            GetFromBenchmarkingData(result, jahrDateTime, mandantIds);

            BenchmarkingData benchmarkingData = kenngroessenFruehererJahreBenchmarkingDataService.GetForCurrentMandant(jahrDateTime);

            if (benchmarkingData != null)
            {
                result.Add(benchmarkingData);
            }

            return(result.Single());
        }