public void CreateAllImagesAndTimeStamps(int blogPostId) =>
        _repo.GetBlogImages(blogPostId)
        .ForEach(imageInfo =>
        {
            LogInformation(
                $"Creating image {imageInfo.Id}.{imageInfo.Extension} for blogpost {blogPostId} ...");

            var imageBytes = _repo.GetImage(blogPostId, imageInfo.Id);

            var imagePath = Path.Combine(
                _blogPostsPath,
                blogPostId.ToString(),
                "images",
                $"{imageInfo.Id}.{imageInfo.Extension}");

            File.WriteAllBytes(imagePath, imageBytes);

            LogInformation($"Image was crated");

            var imageTimeStampPath = Path.Combine(
                _blogPostsPath,
                blogPostId.ToString(),
                "images",
                $"{imageInfo.Id}.tmstmp");

            File.WriteAllText(imageTimeStampPath, imageInfo.TimeChanged.ToString());

            LogInformation($"Timestamp was created");
        });