public ProductsController ( IProductService productService, ITypeService typeService, ISubtypeService subtypeService, ISizeService sizeService, ITradeMarkService tradeMarkService, IMapper automapper ) { _productService = productService; _typeService = typeService; _subtypeService = subtypeService; _sizeService = sizeService; _tradeMarkService = tradeMarkService; _automapper = automapper; }
public SubtypesController(ISubtypeService subtypeService, ITypeService typeService, IMapper automapper) { _subtypeService = subtypeService; _typeService = typeService; _automapper = automapper; }