How to call a custom method in backend?

Most of the backend is centered around data manipulation.

But how can I make a call that just executes a custom method (e.g. of a controller) and then outputs the returned HTML?