public void Handle(QuestionTextChangedEvent e) { QuestionText = e.Question; Version = e.Version; Id = e.AggregateId; }
public async Task Handle(QuestionTextChangedEvent handle) { await QuestionEventBroadcaster.Instance.QuestionTextChangedEventNotify(new Models.Question { Id = handle.AggregateId, QuestionText = handle.Question, Version = handle.Version, ModifiedDate = handle.Timestamp }).ConfigureAwait(false); }