public async Task <IActionResult> GetAgendaItem(int agendaItemId, string userId = "#") { try { var item = await _agendaService.GetAgendaItem(agendaItemId); return(Ok(new { item.AgendaItemSpeakers, item.Description, item.EndDate, item.EventId, item.Id, item.Location, item.StartDate, item.Title, IsUserAgendaItem = item.UserAgendaItems.Any(x => x.UserId == userId) })); } catch { return(BadRequest()); } }