fullcalendar stop showing events from controller mvc 4

I have problem with simple event show in fullcalendar. First time when i use this code, this calendar show me my events from database, after two days i must change somethink and now its completly broken. Thanks for ur help!

This is my Calendar.js

$(document).ready(function () {



function GetEvents()

    theme: false,
    header: {
        left: 'prev,next today',
        center: 'title',
        right: ''
    defaultView: 'month',

    editable: false,

    dataType: "json",

    events: {
        url: '/Calendar/MountLoad',
        type: 'POST',
        data: {
        error: function () {
            alert('there was an error while fetching events!');

        success: function () {




And this is my calendar controller

public class CalendarController : Controller
    private MountManager mountManager;
    private EmployeeController employeeManager;

    public CalendarController()
        this.mountManager = new MountManager();
        this.employeeManager = new EmployeeController();
    public JsonResult MountLoad()
        var events = mountManager.MountList();
        var eventList = from e in events
                        select new
                            id = e.Id,
                            place = e.Place,
                            description = e.Description,
                            name = e.Name,
                            DateFrom = e.DateFrom.ToString("s"),
                            DateTo = e.DateTo.ToString("s")


        return Json(eventList, JsonRequestBehavior.AllowGet);

    public ActionResult Index()
        return View();


Source: json

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.