public void Execute(string order, string id, ICommand command) { var streamName = string.Format("{0}-{1}", order, id); _connection.AppendToStream(streamName, ExpectedVersion.Any, new [] { command.AsJsonEvent() }, EventStoreCredentials.Default); }
public void Execute(string order, string id, ICommand command) { var streamName = string.Format("{0}-{1}", order, id); _connection.AppendToStream(streamName, ExpectedVersion.Any , new [] { command.AsJsonEvent() }, EventStoreCredentials.Default); }