public void Handle(CommentCreatedMessage message) { SendLocal(new CommentCreatedMessageInternal { SagaId = Data.OuterSagaId, Comment = Data.Comment }); MarkAsComplete(); }
public void Handle(CommentCreatedMessage message) { Data.CreatedCommentsCount++; StorageRepository().Get <CommentDTO>(message.Dto.GeneralID.ToString()).Add(message.Dto); DoNotContinueDispatchingCurrentMessageToHandlers(); CompleteSagaIfNecessary(); }
public void Handle(CommentCreatedMessage message) { AddCommentIndex(message.Dto); }