Ejemplo n.º 1
0
 public async Task Add(PayAsYouGoAccount payAsYouGoAccount)
 {
     var streamName = StreamNameFor(payAsYouGoAccount.Id);
     await _eventStore.CreateNewStreamAsync(streamName, payAsYouGoAccount
                                            .Changes);
 }