/// <summary>
 /// Initializes a new instance of the <see cref="DefaultMediaImageService" /> class.
 /// </summary>
 /// <param name="mediaFileService">The media file service.</param>
 /// <param name="storageService">The storage service.</param>
 /// <param name="repository">The repository.</param>
 /// <param name="unitOfWork">The unit of work.</param>
 /// <param name="sessionFactoryProvider">The session factory provider.</param>
 /// <param name="mediaImageVersionPathService"></param>
 public DefaultMediaImageService(IMediaFileService mediaFileService, IStorageService storageService, 
     IRepository repository, ISessionFactoryProvider sessionFactoryProvider, IUnitOfWork unitOfWork,
     IMediaImageVersionPathService mediaImageVersionPathService)
 {
     this.mediaFileService = mediaFileService;
     this.sessionFactoryProvider = sessionFactoryProvider;
     this.storageService = storageService;
     this.repository = repository;
     this.unitOfWork = unitOfWork;
     this.mediaImageVersionPathService = mediaImageVersionPathService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultMediaImageService" /> class.
 /// </summary>
 /// <param name="mediaFileService">The media file service.</param>
 /// <param name="storageService">The storage service.</param>
 /// <param name="repository">The repository.</param>
 /// <param name="unitOfWork">The unit of work.</param>
 /// <param name="sessionFactoryProvider">The session factory provider.</param>
 /// <param name="mediaImageVersionPathService"></param>
 public DefaultMediaImageService(IMediaFileService mediaFileService, IStorageService storageService,
                                 IRepository repository, ISessionFactoryProvider sessionFactoryProvider, IUnitOfWork unitOfWork,
                                 IMediaImageVersionPathService mediaImageVersionPathService)
 {
     this.mediaFileService             = mediaFileService;
     this.sessionFactoryProvider       = sessionFactoryProvider;
     this.storageService               = storageService;
     this.repository                   = repository;
     this.unitOfWork                   = unitOfWork;
     this.mediaImageVersionPathService = mediaImageVersionPathService;
 }