How to acces custom model in angular components


I have created a custom controller in the application and have a custom model defined to fetch data from database. I have also created a custom page at the client side. I want to use Radzen grid and bind the data returned by my controller. I am following the steps provided in the documentation of Radzen.
Is there any way to create the client side service and model for my custom controller and custom model so I can make HTTP call with strongly typed objects something similar to Radzen provided pages and controllers ?
Using JavaScript to bind each parameter( specially for POST calls) becomes tedious as my model has 10-15 properties.

Anjul Mishra

Hi @anjul_mishra,

You can do this if you define a REST data source and describe the parameters and result of your custom actions. Otherwise you have to invoke them as shown in the custom action method how to.