Exemplo n.º 1
0
 public TechnologistController(ILogger <TechnologistController> logger, IRepositoryWrapper repositoryWrapper, IMapper mapper, ICustomProductService customProductService)
 {
     _logger               = logger;
     _repository           = repositoryWrapper;
     _mapper               = mapper;
     _customProductService = customProductService;
 }
 public MissingImageProductController(
     ICustomProductService customProductService,
     IProductAbcDescriptionService productAbcDescriptionService
     )
 {
     _customProductService         = customProductService;
     _productAbcDescriptionService = productAbcDescriptionService;
 }
Exemplo n.º 3
0
        public MissingImageReportTask(
            IRepository <Product> productRepository,
            IRepository <ProductAbcDescription> productAbcRepository,
            IPictureService pictureService,
            ICustomProductService customProductService
            )
        {
            _productRepository    = productRepository;
            _productAbcRepository = productAbcRepository;
            _pictureService       = pictureService;
            _customProductService = customProductService;

            var env = EngineContext.Current.Resolve <IWebHostEnvironment>();

            _excelPath = Path.Combine(env.WebRootPath, "ImageReport.xlsx");
        }
Exemplo n.º 4
0
        public CustomProductController(

            IProductMasterService ProductMasterService
            , ICustomProductService CustomProductService
            , ILocalizationService localizationService
            , ICommonListService CommonListService
            , IDbContext dbContext

            )
        {
            _ProductMasterService = ProductMasterService;
            _localizationService  = localizationService;
            _CustomProductService = CustomProductService;
            _CommonListService    = CommonListService;
            this._dbContext       = dbContext;
        }