Using Json.stringify in controller in asp .net MVC – Asp.net
I have written this part of ajax code to post some information that will be updated in the database. function postUpdateList() { var id = $('#Id').val(); $.ajax({ url: `Home/EditPost/${id}`, type:'POST', contentType:"application/json;charset=utf-8", dataType: JSON.stringify({ "Name": $('#name').val(), "Father": $('#father').val(), "Mother": $('#mother').val(), "Age":…