The famous mediator pattern. Used so often especially in combination with CQRS.
In this article I will show how the mediator pattern itself works, what CQRS is and its advantages. For that we will write a small application, which demonstrates how to use the pattern and what we gain from using it.
Found here