cds-snc / hello-esdc

3 stars 0 forks source link

Implement the Mediator Pattern? #7

Open CalvinRodo opened 5 years ago

CalvinRodo commented 5 years ago

I've used the mediatr project https://github.com/jbogard/MediatR in the past to decouple my business logic away from our controllers.

I've found on non-trivial applications it can really help to decouple actions in Controllers and makes things a little more testable.

It can be a bit overkill for small projects however.

https://github.com/jbogard/MediatR/wiki

spartacusmark commented 5 years ago

I have seen this pattern in place at HoC. Worked well. The ping was in place as well