public void SendPluginOutput(ClientOutput clientOutput) { _sqlController = new SQLiteController(); if (clientOutput.InitPost) { Groups.Add(Context.ConnectionId, "Agents"); _sqlController.SaveBasicInfo(clientOutput); MessageController.LoadTreeView(); } else { _sqlController.JSONToSQL(clientOutput); } }