示例#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;
        }
 /// <summary>
 /// constructor
 /// </summary>
 /// <param name="context"></param>
 /// <param name="pictureFileService"></param>
 /// <param name="notificationService"></param>
 /// <param name="appUserService"></param>
 public PoetPhotoSuggestionService(RMuseumDbContext context, IPictureFileService pictureFileService, IRNotificationService notificationService, IAppUserService appUserService)
 {
     _context             = context;
     _pictureFileService  = pictureFileService;
     _notificationService = notificationService;
     _appUserService      = appUserService;
 }
示例#3
0
 /// <summary>
 /// constructor
 /// </summary>
 /// <param name="pictureFileService">
 /// </param>
 public ImageController(IPictureFileService pictureFileService)
 {
     _pictureFileService = pictureFileService;
 }