public async Task <ActionResult> CreateProject(string groupId, string conversationId) { try { GraphServiceClient graphClient = GraphHelper.GetAuthenticatedClient(); string taskTitle = await GroupHelper.CreateProject(graphClient, groupId, conversationId); ViewBag.taskTitle = taskTitle; return(View("VisitAuthorized")); } catch (ServiceException se) { return(RedirectToAction("Index", "Error", new { message = Request.RawUrl + ": " + se.Error.Message })); } }