public async Task <IActionResult> CreateEvent(string eventId)
        {
            try
            {
                if (User.Identity.IsAuthenticated)
                {
                    eventId = eventId ?? "248d8ea0-b518-493d-b9c1-0a9f3e4e94c7"; //Just for testing
                    Microsoft.Graph.Event newEvent = await _todoListService.CreateEventAsync(/*(ClaimsIdentity)User.Identity,*/ eventId);

                    ViewData["Response"] = JsonConvert.SerializeObject(newEvent, Formatting.Indented);

                    TempData["Message"] = newEvent != null ? "Success! Your calendar event was created." : "";
                    return(RedirectToAction("Index", "Home"));
                }
            }
            catch (System.Exception e)
            {
                return(RedirectToAction("Error", "Home", new { message = e.Message }));
            }
            return(RedirectToAction("Index", "Home"));
        }