public void Execute(Guid agreementId, Guid documentId) { var agreement = GetAggregate <Agreement>(agreementId); agreement.Sign(documentId); var notifId = _notificationQueries.GetNotificationManagerIdFromAgreement(agreementId); var notification = GetAggregate <NotificationManager>(notifId); notification.SignalAgreementSigned(agreementId); PublishUncommitedEvents(agreement, notification); }