diff --git a/Samples/BlogApp/Project.Application/Blog/EventHandlers/PostCreatedDomainEventHandler.cs b/Samples/BlogApp/Project.Application/Blog/EventHandlers/PostCreatedDomainEventHandler.cs index 500e435..fd67b84 100644 --- a/Samples/BlogApp/Project.Application/Blog/EventHandlers/PostCreatedDomainEventHandler.cs +++ b/Samples/BlogApp/Project.Application/Blog/EventHandlers/PostCreatedDomainEventHandler.cs @@ -15,13 +15,13 @@ public PostCreatedDomainEventHandler(ILogger logg public Task Handle(PostCreatedDomainEvent notification, CancellationToken cancellationToken) { - _logger.LogInformation("Post created: {PostId} - {Title}", notification.PostId, notification.Title); - + _logger.LogInformation("Post created:: {PostId} - {Title}", notification.PostId, notification.Title); + // Here you can add additional business logic like: // - Sending notifications // - Updating read models // - Triggering external systems - + return Task.CompletedTask; } } \ No newline at end of file