Trying to pass an id back to the controller (btw the id is not null) Controller thinks it gets null.
var url = '@Url.Action("Delete")';
$.ajax({
url: url,
async: false,
// have also tried data:clientId and data:[clientId]
data: { id: clientId },
type: 'POST',
});
Controller
public ActionResult Delete(string id)
{
// Do something
}
