Exemplo n.º 1
0
        public Task RecordAutoSale([FromBody] AutoSaleCompleted salesCompleted)
        {
            salesCompleted.SetRouteKey(
                salesCompleted.Make,
                salesCompleted.Model,
                salesCompleted.Year);

            return(_messaging.PublishAsync(salesCompleted));
        }
Exemplo n.º 2
0
 public void AmericanAutoSales(AutoSaleCompleted completedSale)
 {
     Console.WriteLine(completedSale.ToIndentedJson());
 }
Exemplo n.º 3
0
 public void SweedishAutoSales(AutoSaleCompleted completedSale)
 {
     Console.WriteLine(completedSale.ToIndentedJson());
 }