public ProductManagementHubService(IProductManagementModification productManagement, IHubContext <ProductManagementHub> hubContext) { _productManagement = productManagement ?? throw new ArgumentNullException(nameof(productManagement)); _hubContext = hubContext ?? throw new ArgumentNullException(nameof(hubContext)); _converter = new ProductConverter(_productManagement); }
public ProductManagementController(IProductManagementModification productManagement) { _productManagement = productManagement; _productConverter = new ProductConverter(_productManagement); }
public ProductConverter(IProductManagementModification productManagement) { _productManagement = productManagement; }