public JsonResult GetGraphGeneration20Case(int Levels = 2, int SenderEntityID = -1, int RecipientEntityID = -1) { workspaceInfo = new WorkspaceInfo(); workspaceInfo.GetWorkspaceInformation(); workspaceInfo.SetSession(HttpContext.Session); CytoscapeAndScopeData cytoscapeAndScopeData; using (SqlConnection connection = workspaceInfo.GetAndOpenSQLConnection()) { cytoscapeAndScopeData = workspaceInfo.GetNodesAndEdgesTopCommunicatorsGeneration20Case(Levels, SenderEntityID, RecipientEntityID, connection, workspaceInfo.SocialNetworkDatabaseName); } return Json(cytoscapeAndScopeData, JsonRequestBehavior.AllowGet); }