public void UpdateDescription(string description) { var @event = new TaskDescriptionChanged(description); EnqueueEvent(@event); Apply(@event); }
public void Apply(TaskDescriptionChanged @event) { Description = @event.Description; }