public ProductGalleryImageController(ProductGalleryImageRepository productGalleryImageRepository
                                      , IHostingEnvironment environment
                                      , FileConfig fileConfig)
 {
     _fileConfig  = fileConfig;
     _environment = environment;
     _productGalleryImageRepository = productGalleryImageRepository;
 }
Beispiel #2
0
        public ProductsController
            (ProductRepository productRepository
            , ProductGalleryImageRepository productGalleryImageRepository
            , FileConfig fileConfig
            , IHostingEnvironment environment
            , ProductTypeRepository productTypeRepository)

        {
            _productGalleryImageRepository = productGalleryImageRepository;
            _productRepository             = productRepository;
            _fileConfig            = fileConfig;
            _environment           = environment;
            _productTypeRepository = productTypeRepository;
        }