コード例 #1
0
        public JsonResult GetSectorFinalScoreLevel1(int id = 0, string level = null)
        {
            //var graph = new Graph()
            //{
            //    OtherOrg = new int[] { 700 },
            //    Org = new int[] { 500 }
            //};
            var graph = Task.Run(() => ScoreReport.OrganizationManufacturingFinalScore(GetUserIdIfIdIsEmpty(id), level)).Result;

            return(Json(graph, JsonRequestBehavior.AllowGet));
        }
コード例 #2
0
        public async Task <JsonResult> GetSectorFinalScoreLevel3(int id = 0)
        {
            //var graph = new Graph()
            //{
            //    OtherOrg = new int[] { 700 },
            //    Org = new int[] { 500 }
            //};
            var graph = await Task.Run(() => ScoreReport.OrganizationManufacturingFinalScore(GetUserIdIfIdIsEmpty(id), Utilities.AssessmentTypeLevel3));

            return(Json(graph, JsonRequestBehavior.AllowGet));
        }