I have a project with .net core 3.1 and mvc in which by means of scafolding I connect to the database, the models, controllers and views were created, execute the application and effectively everything should be running dome. but actually what I want is to do a crud with jquery and ajax, and that's when I already have a problem, for this I go on to show the code I have.
In the _Layout.cshtml, I made the following change
and add at the bottom this script
I tried some other options in the url thinking that it might not find the Index sheet or view but I have not managed to load my data.
Please help me to solve my problem and see what my mistake was
Thanks you