public object Release(string projectname) { Session.Remove("ReleaseCount"); ReleaseModel1 releseCount = logic.ReleaseCount(projectname); Session["ReleaseCount"] = releseCount.count; ViewBag.ReleaseCount = releseCount.count; List <ValueRelease> releasestore = logic.Release(projectname); string output = JsonConvert.SerializeObject(releseCount); return(output); }