DataSource for DevExtreme - How to implement CRUD operations with API controllers in an ASP.NET Core Razor Pages project
This example demonstrates how to bind DataGrid to a controller action and implement CRUD operations (such as Load, Insert, Update, and Delete) in a Razor Pages project.
Specify the Controller, LoadAction, UpdateAction, InsertAction, and DeleteAction properties so that the DataGrid's DataSource can perform CRUD operations. In the corresponding controller, implement data operations in the actions.
Note that it is necessary to set up routing correctly in Razor Pages and controllers.