public Task <AsyncTaskResult> HandleAsync(DepositTransactionPreparationCompletedEvent evnt) { return(_commandService.SendAsync(new CommitTransactionPreparationCommand(evnt.AccountId, evnt.AggregateRootId) { Id = evnt.Id })); }
public async Task HandleAsync(DepositTransactionPreparationCompletedEvent evnt) { await _commandService.SendAsync(new CommitTransactionPreparationCommand(evnt.AccountId, evnt.AggregateRootId) { Id = evnt.Id, Items = evnt.Items }); }