Example #1
0
        public JsonResult GetGraphGeneration15Filter(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.GetNodesAndEdgesTopCommunicatorsGeneration15Filter(
                    SenderEntityID, RecipientEntityID, connection, workspaceInfo.SocialNetworkDatabaseName, MaximumParticipants, SavedSearch);
            }

            return Json(cytoscapeAndScopeData, JsonRequestBehavior.AllowGet);
        }