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'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