Skip to content

Commit 4c32442

Browse files
committed
Fix DomainEvents
1 parent 070c311 commit 4c32442

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Samples/BlogApp/Project.Application/Blog/EventHandlers/PostCreatedDomainEventHandler.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ public PostCreatedDomainEventHandler(ILogger<PostCreatedDomainEventHandler> logg
1515

1616
public Task Handle(PostCreatedDomainEvent notification, CancellationToken cancellationToken)
1717
{
18-
_logger.LogInformation("Post created: {PostId} - {Title}", notification.PostId, notification.Title);
19-
18+
_logger.LogInformation("Post created:: {PostId} - {Title}", notification.PostId, notification.Title);
19+
2020
// Here you can add additional business logic like:
2121
// - Sending notifications
2222
// - Updating read models
2323
// - Triggering external systems
24-
24+
2525
return Task.CompletedTask;
2626
}
2727
}

0 commit comments

Comments
 (0)