public async Task<ActionResult> Create(EventModel model) {
      EventRepository repo = new EventRepository();

      await repo.CreateCalendarEvent(model);

      return RedirectToAction("Index");
    }
        public async Task <ActionResult> Create(EventModel model)
        {
            EventRepository repo = new EventRepository();

            await repo.CreateCalendarEvent(model);

            return(RedirectToAction("Index"));
        }