private TImageStatistic CreateInitialStatistic()
        {
            var newStat = new TImageStatistic
            {
                TotalNumberOfImages     = _imageRepository.AmountOfItems(),
                NumberOfOptimizedImages = _imageRepository.AmountOfOptimizedItems(),
                TotalSavedBytes         = 0
            };

            _statisticRepository.Create(newStat);
            return(newStat);
        }