public CollectionService(IMapper mapper, ICollectionRepository collectionRepository, IConfiguredProductRepository configuredProductRepository, ILogger <CollectionService> logger, CollectionDTOValidator collectionDTOValidator, ConfiguredProductDTOValidator configuredProductDTOValidator)
 {
     _mapper = mapper;
     _collectionDTOValidator        = collectionDTOValidator;
     _configuredProductRepository   = configuredProductRepository;
     _configuredProductDTOValidator = configuredProductDTOValidator;
     _collectionRepository          = collectionRepository;
 }
Example #2
0
 public ConfiguredProductService(IMapper mapper, IProductService productService, IConfiguredProductRepository configuredProductRepository, IProductRepository productRepository, IMaterialRepository materialRepository, ICategoryRepository categoryRepository, ConfiguredProductDTOValidator configuredProductDTOValidator)
 {
     _mapper         = mapper;
     _productService = productService;
     _configuredProductRepository   = configuredProductRepository;
     _productRepository             = productRepository;
     _materialRepository            = materialRepository;
     _categoryRepository            = categoryRepository;
     _configuredProductDTOValidator = configuredProductDTOValidator;
 }
Example #3
0
 public CatalogService(IMapper mapper, ICatalogRepository catalogRepository, ICollectionRepository collectionRepository, IConfiguredProductRepository configuredProductRepository, CatalogDTOValidator catalogDTOValidator, CollectionDTOValidator collectionDTOValidator, ConfiguredProductDTOValidator configuredProductDTOValidator)
 {
     _mapper                        = mapper;
     _catalogRepository             = catalogRepository;
     _collectionRepository          = collectionRepository;
     _configuredProductRepository   = configuredProductRepository;
     _catalogDTOValidator           = catalogDTOValidator;
     _collectionDTOValidator        = collectionDTOValidator;
     _configuredProductDTOValidator = configuredProductDTOValidator;
 }