Can u help me to how to get the json data in controller.
$.ajax({
type: 'Post',
url: 'getdata',
dataType: 'json',
data: JSON.stringify(value), //value is an array
contentType: 'application/json',
success: function (data) {
},
error: function (xhr, textStatus, errorThrown) {
}
});
Controller:
public ActionResult getdata()
{
view()
}
I dont have any idea about the controller or model .Suggest some ideas