Example #1
0
 public void Visit(NewSalesOrderCommand salesOrderCommand)
 {
     report.AppendLine("Sales order request: ");
     foreach (var line in salesOrderCommand.OrderLines)
     {
         report.AppendLine($"\t - Product={line.Product} Quantity={line.Quantity}");
     }
 }
Example #2
0
 public void Visit(NewSalesOrderCommand element)
 {
     toSave.Add(element);
 }