public ProductPictureApplication(IProductPictureRepository productPictureRepository, IProductRepository productRepository,
                                  IFileUploader fileUploader)
 {
     _productPictureRepository = productPictureRepository;
     _productRepository        = productRepository;
     _fileUploader             = fileUploader;
 }
 public ProductController(IProductRepository productRepository,
                          IProductTypeRepository productTypeRepository,
                          IProductPictureRepository productPictureRepository)
 {
     _productRepository        = productRepository;
     _productTypeRepository    = productTypeRepository;
     _productPictureRepository = productPictureRepository;
 }
示例#3
0
 public ProductService(IProductRepository productRepository, IProductPictureRepository productPictureRepository,
                       IUserRepository userRepository, IUserPhotoRepository userPhotoRepository,
                       IProductAttributeRepository productAttributeRepository, IProductStatusRepository productStatusRepository)
 {
     _productRepository          = productRepository;
     _productPictureRepository   = productPictureRepository;
     _userRepository             = userRepository;
     _userPhotoRepository        = userPhotoRepository;
     _productAttributeRepository = productAttributeRepository;
     _productStatusRepository    = productStatusRepository;
 }
示例#4
0
 public FarmRepository(IRepository <Farm> farmRepository, IRepository <FarmType> farmTypeRepository,
                       IRepository <FarmProduct> farmProductRepository, IRepository <Product> productRepository,
                       IRepository <ProductPrice> productPriceRepository, IRepository <ProductCategoryRelation> productCategoryRelationRepository,
                       IProductPictureRepository productPictureRepository)
 {
     _farmRepository                    = farmRepository;
     _farmTypeRepository                = farmTypeRepository;
     _farmProductRepository             = farmProductRepository;
     _productRepository                 = productRepository;
     _productPriceRepository            = productPriceRepository;
     _productCategoryRelationRepository = productCategoryRelationRepository;
     _productPictureRepository          = productPictureRepository;
 }
示例#5
0
        public FeedService(IFeedRepository feedRepository, IUserRepository userRepository,
                           IArticlePictureRepository articlePictureRepository,
                           IProductPictureRepository productPictureRepository,
                           IFarmPictureRepository farmPictureRepository,
                           IUserPhotoRepository userPhotoRepository)
        {
            _feedRepository = feedRepository;
            _userRepository = userRepository;

            _articlePictureRepository = articlePictureRepository;
            _farmPictureRepository    = farmPictureRepository;
            _productPictureRepository = productPictureRepository;
            _userPhotoRepository      = userPhotoRepository;
        }
示例#6
0
        /// <summary>
        /// Ctor
        /// </summary>
        /// <param name="pictureRepository">Picture repository</param>
        /// <param name="productPictureRepository">Product picture repository</param>
        /// <param name="settingService">Setting service</param>
        /// <param name="webHelper">Web helper</param>
        /// <param name="logger">Logger</param>
        /// <param name="dbContext">Database context</param>
        /// <param name="eventPublisher">Event publisher</param>
        /// <param name="mediaSettings">Media settings</param>
        public PictureDomainService(IPictureRepository pictureRepository,
                                    IProductPictureRepository productPictureRepository,
                                    SettingDomainService settingService,
                                    IStoreContext storeContext
                                    //IWebHelper webHelper,
                                    //ILogger logger,
                                    //IDbContext dbContext,
                                    //IEventPublisher eventPublisher,
                                    //MediaSettings mediaSettings
                                    )


        {
            this._pictureRepository        = pictureRepository;
            this._productPictureRepository = productPictureRepository;
            this._settingService           = settingService;
            this._storeContext             = storeContext;
            //this._webHelper = webHelper;
            //this._logger = logger;
            //this._dbContext = dbContext;
            //this._eventPublisher = eventPublisher;
            //this._mediaSettings = mediaSettings;
        }
 public ProductPictureApplication(IProductPictureRepository productPictureRepository)
 {
     _productPictureRepository = productPictureRepository;
 }
示例#8
0
 public ProductPictureService(IProductPictureRepository productpictureRepository, IMapper mapper)
 {
     _productpictureRepository = productpictureRepository;
     _Mapper = mapper;
 }
 public CommentController(ICommentRepository commentRepository, IProductRepository productRepository, IProductPictureRepository productPictureRepository)
 {
     _commentRepository        = commentRepository;
     _productRepository        = productRepository;
     _productPictureRepository = productPictureRepository;
 }