passing argument to an ajax post request returns an error – Jquery ajax
I have an applicatiuon MVC wirtten in c#. I want to make ajax post request to my controller method: locationId = "2087"; jQuery.ajax({ url: rootUrl + "SpaEmployeeAdmin/GetCurrentLocationDateTime", contentType: "application/json; charset=utf-8", data: "locationId=" + locationId, dataType: "json", type: "POST", async: false,…