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