SapphireDb comes with an alternative for controllers. They are called
ActionHandler. You can use them like controllers in Asp.Net. You can define public methods that are exposed through the sapphire interfaces.
You can use dependency injection in the constructor of the class.
The methods allow any serializable return type and you can also use async methods.
Every other parameters will be used as parameters for the method.
Stream data from server
Stream data to server (and back to client)
Notify-method in your action handler to achieve that.