I have the following problem:
On a Button-Click I POST some data to the server. My controller Action looks like this:
public ActionResult Accept(List
I got the answer!
jQuery can be confusing at times.
dataType is the parameter which specifies what you want to get BACK from the server. contentType is the paremeter which specifies what you SEND TO the server.
So from the example above it works if you add:
contentType: 'application/json; charset=utf-8',
in the AJAX-call.