Thank you for comment. I totally agree with you. There is no need for domain layer to take advantage of CQRS usage.

Mediator pattern is great upgrade for CQRS application layers but it brings headache for junior developers when they are moving through codebase.

Actully, there is no need to implement mediator by itself. There exists a great nugget package called MediatR, and its so clean and simple, that I fell in love with it.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store