public async Task Handle(RetrospectiveStateChanged message) { var details = await _read.Get <RetrospectiveDetails>(message.RetrospectiveId); details.State = message.TargetState; await _save.Put(details); }
private void Apply(RetrospectiveStateChanged e) { State = e.TargetState; }