CQRSSample.App.Program.RelocateCustomer C# (CSharp) Method

RelocateCustomer() private static method

private static RelocateCustomer ( IBus bus, System.Guid aggregateId ) : void
bus IBus
aggregateId System.Guid
return void
        private static void RelocateCustomer(IBus bus, Guid aggregateId)
        {
            bus.Send(new RelocatingCustomerCommand(aggregateId, "Messestraße",  "2", "4444", "Linz"));

            Console.WriteLine("Customer relocated. Press any key to show list of customers.");
            Console.ReadLine();
        }