I have a project for data persistence.
When I saved data with UOW, I want to publish an event, Since its persistence project I dont want to use MediatR full package in my persistence layer.
So I thought it would be nice to have IPublisher in contracts.
I have a project for data persistence. When I saved data with UOW, I want to publish an event, Since its persistence project I dont want to use MediatR full package in my persistence layer.
So I thought it would be nice to have IPublisher in contracts.