Using Mediator Pipelines in ASP.NET Core Applications