public virtual async Task ImportCharges(IEnumerable <ImportChargesCommandHandler.ImportedCharge> data) { var eve = new ChargesImportedEvent() { ImportedCharges = data }; Emit(eve); await Task.CompletedTask; }
public void Apply(ChargesImportedEvent aggregateEvent) { ImportedCharges = aggregateEvent.ImportedCharges; }