Open CalvinRodo opened 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
I have seen this pattern in place at HoC. Worked well. The ping was in place as well
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