public string killUser(string dbName, string hostName, string ntUserName, string hostProcess, string cbSession)
        {
            if (hostProcess == "")
            {
                return("null");
            }

            int hostProcessId = int.Parse(hostProcess);

            try
            {
                // Tente de killer le programme
                Process.Start("taskkill", $"/S {hostName} /FI \"USERNAME eq {ntUserName}\" /PID {hostProcessId}");

                //if (Process.GetProcessById(hostProcessId, hostName).WaitForExit(5000))
                //{

                //}

                // Supprime depuis cbUserSession
                DecoRepository repos = new DecoRepository(dbName);
                repos.deleteUserSession(cbSession);
                return("Programme en cours d'extinction");
            }
            catch (Exception ex)
            {
                return($"ERREUR: {ex.Message}");
            }
        }
        public string deleteUserSession(string dbName, string cbSession = null)
        {
            DecoRepository repos = new DecoRepository(dbName);

            return(repos.deleteUserSession(cbSession));
        }