//END OF TEST

        public JsonResult GetCalendarDatabase()
        {
            using (MindTheGapEntities db = new MindTheGapEntities())
            {
                var events = db.Events.ToList();
                return(new JsonResult {
                    Data = events, JsonRequestBehavior = JsonRequestBehavior.AllowGet
                });
            }
        }