Beispiel #1
0
        public JsonResult GetGraphGeneration20Filter(int Levels = 2, int SenderEntityID = -1, int RecipientEntityID = -1, int MaximumParticipants = 2000000000, int SavedSearch = -1)
        {
            workspaceInfo = new WorkspaceInfo();
            workspaceInfo.GetWorkspaceInformation();
            workspaceInfo.SetSession(HttpContext.Session);

            CytoscapeAndScopeData cytoscapeAndScopeData;

            using (SqlConnection connection = workspaceInfo.GetAndOpenSQLConnection())
            {

                cytoscapeAndScopeData = workspaceInfo.GetNodesAndEdgesTopCommunicatorsGeneration20Filter(
                    Levels, SenderEntityID, RecipientEntityID, connection, workspaceInfo.SocialNetworkDatabaseName, MaximumParticipants, SavedSearch);
            }

            return Json(cytoscapeAndScopeData, JsonRequestBehavior.AllowGet);
        }