I am working on asp.net mvc application and I have added an actionlink like this:
<%= Ajax.ActionLink("Event Notifications", "processCallrecording", new { Id = ViewData["RecordingIDsEdit"] }, new AjaxOptions
{
    OnSuccess = "StatusChanged",
    HttpMethod = "POST"
})%>
My controller is like this:
 [HttpPost]
        public JsonResult ProcessCallRecording(int Id = 0)
        {
int result = id;
 return Json(new {NewStatus = result.ToString()});
        }
My js function is like this:
function StatusChanged(data) {   
alert("order #:" + data.NewStatus + "has a new status: "
    + data.NewStatus);
}
and I see undefined in alert. I am struggling for last 2 hours on this issue. Please suggest me what is wrong ?