public async Task <IActionResult> Checkin(int meetingId) { int userId; if (!int.TryParse(HttpContext.User.FindFirst("UserId").Value, out userId)) { return(StatusCode(500, "No se pudo obtener le identifcador para el usuario actual.")); } var result = await _meetingService.CheckIn(meetingId, userId); return(Ok(new ApiResponse <bool>(result))); }