Ejemplo n.º 1
0
 public function handle(DeleteProductCommand $command)
 {
     $product = $this->productService->findOneById($command->getProductId());
     $this->productService->delete($product);
 }