Пример #1
0
        public JsonResult EdgeClicked1(string EdgeID = "")
        {

            workspaceInfo = new WorkspaceInfo();
            workspaceInfo.GetWorkspaceInformation();
            workspaceInfo.SetSession(HttpContext.Session);

            string uri = "mmm";
            
            using (SqlConnection connection = workspaceInfo.GetAndOpenSQLConnection())
            {
                uri = workspaceInfo.DoEdgeClicked(EdgeID, connection, workspaceInfo.SocialNetworkDatabaseName);
            }

            if (workspaceInfo.IsInRelativity == 0)
            {
                uri = "#";
            }


            return Json(uri, JsonRequestBehavior.AllowGet);
            
        }