public override void VisitSalesOrderCommand(NewSalesOrderCommand salesOrderCommand)
 {
     report.AppendLine("Sales order request: ");
     foreach (var line in salesOrderCommand.OrderLines)
     {
         report.AppendLine($"\t Product={line.Product} Quantity={line.Quantity}");
     }
 }
 public override void VisitSalesOrderCommand(NewSalesOrderCommand salesOrderCommand)
 {
     Console.WriteLine($"Sales Order from {salesOrderCommand.CustomerCode} was approved.");
 }
 public override void VisitSalesOrderCommand(NewSalesOrderCommand salesOrderCommand)
 {
     toSave.Add(salesOrderCommand);
 }