public async Task <IActionResult> JoinGame([Required] int id)
        {
            var userId     = long.Parse(_httpContextAccessor.HttpContext.User.FindFirst(ClaimTypes.NameIdentifier).Value);
            var joinedUser = await _matchmakingService.JoinRaffle(id);

            await _hubContext.Clients.Groups(id.ToString()).SendAsync("userJoined", JsonConvert.SerializeObject(joinedUser));

            await _hubContext.Groups.AddToGroupAsync(
                (await _connectionMapping.GetConnectionIdByUserid(userId)).ConnectionId,
                id.ToString());

            return(Ok(joinedUser));
        }