I thought MVC3 can bind JSON data to model by default.
but this code
server:
[HttpPost]
public ActionResult Save(IList<int> IDs)
{
return null;
}
client:
$.post('@Url.Action("Save", "Users")', {'IDs' : [1, 2, 3]}, function() {});
don't work. Why ??