To call a hub method who's parameters are complex types (classes), Tresi provides a simple syntax for creating instances of this types. Please have a look at this tutorial for an example