Home MVC .Net Core Entity Framework how to pass EditorForModel form data thru Ajax
 I'm trying to use Ajax to pass my form data for creating a database object to the create action. I am doing this because I want to update a partial when it is successful. I cannot however seem to retrieve the data from the form. I have tried passing the model thru the url like so but it turns up empty:   I have also tried passing the model into ajax as a json string but I get a weird incorrect syntax error:   My Create action looks basically like this: public IActionResult (Item model) { //save model to db }  But all of the models fields come back as 0 or null no matter what I entered in the form. Edit: The Form is being generated by EntityFramework like so: @Html.EditorForModel()  I need to be able to take the input from this and pass it thru ajax.