I am using a jQuery calendar to display events, which is designed to pull data from the server. On innit the calendar fires off a AJAX request to get an array of events objects
You need to use return type as 1JsonResult1s instead of 1ActionResult1s
your code goes somthing like this
public JasonResult(DateTime start, DateTime end) { //some logic return Json(); // you can pass any values within Json() with new keyword }