public static void CreateRootClient1() { InitSample(); Client1.Execute <EventSourcedRoot>(new TestCommand1 { AggregateId = TestId, Name = "Name", }); }
public static void EditClient2() { InitSample(); Client2.Execute <EventSourcedRoot>(new TestCommand1 { AggregateId = TestId, Name = "Client 2 Edit " + DateTime.Now.Second.ToString(), }); Client2.Execute <EventSourcedRoot>(new TestCommand2 { AggregateId = TestId, Amount = 50, }); }