Too Long; Didn't Read
MediatR is an implementation of the mediator pattern. It is a behavioural software design pattern that helps you to build simpler code by making all components communicate via a "mediator" object, instead of directly with each other. This helps the code to remain highly decoupled and reduces the number of complex dependencies between objects. Using Mediat R, one sends some data as an object to a mediator object. Depending on the type of data that is sent, it decides which other objects/services to call. To send a request, you need to create a request and a request handler.