Пример #1
0
        public object Build(string projectname)
        {
            //Workitemlist123(projectname);
            Session.Remove("BuildCount");
            Org.ProjectName = projectname;
            BuildModel buildstorecount = logic.BuildDetailsCount(projectname);

            Session["BuildCount"] = buildstorecount.count;
            ViewBag.BuildCount    = buildstorecount.count;
            List <ValueBuild> buildstore = logic.BuildDetails(projectname);
            //string output = JsonConvert.SerializeObject(buildstore);
            string output = JsonConvert.SerializeObject(buildstorecount);

            return(output);
        }