public AddProductImageCommand(IProductImageDomainFactory productImageDomainFactory, IHttpRequestPost httpRequestPost) { this.productImageDomainFactory = productImageDomainFactory; this.httpRequestPost = httpRequestPost; mapper = ProductMapping.MapConfig.CreateMapper(); }
public ProductImageController(IUnitOfWork InventorySalesUnitOfWork, IProductImageDomainFactory productImageDomainFactory) { this.InventorySalesUnitOfWork = InventorySalesUnitOfWork; this.productImageDomainFactory = productImageDomainFactory; mapper = InventorySalesMapping.MapConfig.CreateMapper(); }