CQRSSample.App.Program.RelocateCustomer C# (CSharp) Метод

RelocateCustomer() приватный статический Метод

private static RelocateCustomer ( IBus bus, System.Guid aggregateId ) : void
bus IBus
aggregateId System.Guid
Результат 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();
        }