예제 #1
0
 private void Print(NewSalesOrderCommand item)
 {
     Console.WriteLine("Sales order request: ");
     foreach (var line in item.OrderLines)
     {
         Console.WriteLine($"\t Product={line.Product} Quantity={line.Quantity}");
     }
 }
예제 #2
0
 private void Approve(NewSalesOrderCommand item)
 {
     // Interact w/ the databse and use external services to process a new purchase order request
 }