Ejemplo n.º 1
0
 public ProductsManager(IUnitOfWork unitOfWork, IValidator <ProductsDto> validator, IAttachmentsManager attachmentsManager, ISliderManager <DBModels.ProductsImages> sliderManager, ILogger <ProductsManager> logger)
 {
     _unitOfWork         = unitOfWork;
     _validator          = validator;
     _attachmentsManager = attachmentsManager;
     _sliderManager      = sliderManager;
     _logger             = logger;
 }
Ejemplo n.º 2
0
 public ArticleService(IUnitOfWork unitOfWork, IValidator <ArticleAddDto> addvalidator, IValidator <RejectDto> rejectvalidator, IAttachmentsManager attachmentsManager, ISliderManager <DBModels.ArticlesImages> sliderManager, ILogger <ArticleService> logger)
 {
     _unitOfWork         = unitOfWork;
     _addValidator       = addvalidator;
     _rejectValidator    = rejectvalidator;
     _attachmentsManager = attachmentsManager;
     _sliderManager      = sliderManager;
     _logger             = logger;
 }