public JsonResult GetProjects(string orgName)
        {
            Org.OrganizationName       = orgName;
            datastored.ProjectNameList = logic.ProjectNamesStore();
            //TestDisplay();

            ViewBag.project = datastored;
            return(Json(datastored.ProjectNameList, JsonRequestBehavior.AllowGet));
        }
Пример #2
0
        public object GetProjects(string orgName)
        {
            Org.OrganizationName = orgName;
            RespData profileResp = logic.ProjectNamesStore();

            Session["projectList"] = profileResp;

            string output = JsonConvert.SerializeObject(profileResp);

            return(output);
        }