public ActionResult Create(string start, string end, string text)
        {
            var toBeCreated = new Event
            {
                Start = Convert.ToDateTime(start),
                End = Convert.ToDateTime(end),
                Text = text
            };
            db.Events.InsertOnSubmit(toBeCreated);
            db.SubmitChanges();

            return new JsonResult { Data = new Dictionary<string, object> { { "id", toBeCreated.Id } } };

        }
 partial void DeleteEvent(Event instance);
 partial void UpdateEvent(Event instance);
 partial void InsertEvent(Event instance);