Example #1
0
        public StorePictureService(IRepository <Picture> pictureRepository,
                                   IRepository <ProductPicture> productPictureRepository,
                                   ISettingService settingService,
                                   IWebHelper webHelper,
                                   ILogger logger,
                                   IDbContext dbContext,
                                   IEventPublisher eventPublisher,
                                   MediaSettings mediaSettings,
                                   IPictureFileService pictureFileService,
                                   BlobService blobSettingService)
            : base(pictureRepository,
                   productPictureRepository,
                   settingService, webHelper,
                   logger, dbContext, eventPublisher,
                   mediaSettings)

        {
            _webHelper          = webHelper;
            _settingService2    = settingService;
            _pictureRepository  = pictureRepository;
            _eventPublisher     = eventPublisher;
            _mediaSettings      = mediaSettings;
            _logger             = logger;
            _storage            = blobSettingService;
            _pictureFileService = pictureFileService;
        }
Example #2
0
 public PictureFileService(ICacheManager cacheManager, IRepository <PictureFile> pictureFileRepository, IEventPublisher eventPublisher, BlobService blobSettingService, ISettingService settingService)
 {
     _pictureFileRepository = pictureFileRepository;
     _cacheManager          = cacheManager;
     _eventPublisher        = eventPublisher;
     _blobSettingService    = blobSettingService;
     _settingService        = settingService;
 }
 public StoreDownloadService(IRepository <Download> downloadRepository,
                             IEventPublisher eventPublisher, BlobService blobSettingService,
                             ISettingService settingService,
                             ILogger logger
                             ) : base(downloadRepository, eventPublisher)
 {
     _downloadRepository = downloadRepository;
     _eventPublisher     = eventPublisher;
     _blobSettingService = blobSettingService;
     _settingService     = settingService;
     _logger             = logger;
 }