private string OpenCommand(InspectionSessionsByStatus sessions, ConversationReference conversationReference)
        {
            var sessionId = Guid.NewGuid().ToString();

            sessions.OpenedSessions.Add(sessionId, conversationReference);
            return(sessionId);
        }
        private bool AttachCommand(string conversationId, InspectionSessionsByStatus sessions, string sessionId)
        {
            if (sessions.OpenedSessions.TryGetValue(sessionId, out var inspectionSessionState))
            {
                sessions.AttachedSessions[conversationId] = inspectionSessionState;
                sessions.OpenedSessions.Remove(sessionId);
                return(true);
            }

            return(false);
        }