public ProductController(IProductCoreService productCoreService, MapperConfiguration mapperConfiguration) { _productCoreService = productCoreService; _mapper = mapperConfiguration.CreateMapper(); }