public FieldMapper(IProductLibraryController productLibraryController, IProductController productController, IFieldDefinitionController fieldDefinitionController, ICatalogsController catalogsController, ICustomAttributesController customAttributesController) { _eaProductController = productLibraryController; _eaFieldDefinitionController = fieldDefinitionController; _eaCatalogsController = catalogsController; _magentoCustomAttributesController = customAttributesController; _magentoProductController = productController; }
public ColorMapper(ICustomAttributesController customAttributesController, IProductLibraryController productLibraryController) { _eaProductController = productLibraryController; _customAttributeColor = customAttributesController.GetCustomAttributeIfExists(ConfigReader.MagentoColorCode); }