I have the following configuration of the Grid:
<kendo-grid name="grid">
<datasource type="DataSourceTagHelperType.Custom" page-size="5">
<transport>
<read url="https://thefishroommvccore.azurewebsites.net/api/PageContents" />
<destroy url="https://thefishroommvccore.azurewebsites.net/api/PageContents/7" />
</transport>
<schema>
<model id="Id">
<fields>
<field name="Name" type="text"></field>
<field name="Content" type="text"></field>
<field name="PublishDateTime" type="date"></field>
</fields>
</model>
<model>
<fields>
<field name="PublishDateTime" type="Date"></field>
</fields>
</model>
</schema>
</datasource>
<groupable enabled="true" />
<sortable enabled="true" />
<pageable button-count="5" refresh="true" page-sizes="new int[] { 5, 10, 20 }">
</pageable>
<filterable enabled="true" />
<columns>
<column field="Name" title="Name" width="240" />
<column field="Content" title="Content" width="240" />
<column field="PublishDateTime" title="Date" format="{0:MM/dd/yyyy}" />
<column field="Id" title="Id" width="150" />
<column title="Edit">
<commands>
<column-command name="edit"></column-command>
<column-command name="delete" name="destroy"></column-command>
</commands>
</column>
</columns>
</kendo-grid>
I can view sort all works... the one thing I cannot get to work is the delete which I have hard coded right now to delete record with Id of 7. I'm following the docs at: https://docs.telerik.com/aspnet-core/helpers/tag-helpers/grid
Right now Delete is doing nothing... no errors in page nothing. I don't understand what it is I need to do to delete a record. The service is just a Web Api with Crud. I can do Crud operations in Postman no problem.