/// <summary>
        /// Gets testing statistic.
        /// </summary>
        /// <returns> BllTestingStatistic instance.</returns>
        public BllTestingStatistic GetStatistics()
        {
            var userStatistics = new List <BllUserTestingStatistic>();
            var testResults    = service.GetAllTestResults().ToList();

            return(new BllTestingStatistic
            {
                UserStatistics = GetUserStatistics(testResults),
                TotalNumberOfTests = testService.GetAllTests().Count(),
                CreatedTestsPerDay = GetTestsPerDay(testService.GetAllTests(), t => t.Created),
                CompletedTestsPerDay = GetTestsPerDay(testResults, tr => tr.DateTime),
                TotalTestingTime = GetTotalTestingTime(testResults)
            });
        }