Ejemplo n.º 1
0
        public JsonResult GetGraphGeneration15Case(int SenderEntityID = -1, int RecipientEntityID = -1)
        {
            workspaceInfo = new WorkspaceInfo();
            workspaceInfo.GetWorkspaceInformation();
            workspaceInfo.SetSession(HttpContext.Session);

            CytoscapeAndScopeData cytoscapeAndScopeData;

            using (SqlConnection connection = workspaceInfo.GetAndOpenSQLConnection())
            {
                cytoscapeAndScopeData = workspaceInfo.GetNodesAndEdgesTopCommunicatorsGeneration15Case(SenderEntityID, RecipientEntityID, connection, workspaceInfo.SocialNetworkDatabaseName);
            }

            return Json(cytoscapeAndScopeData, JsonRequestBehavior.AllowGet);
        }