Example #1
0
        public object ExamBloodFat(dynamic obj)
        {
            float  value    = obj.value;
            string clientId = obj.clientId;
            string result   = obj.result;
            string risk     = obj.risk;
            string advice   = obj.advice;
            //var examRet = ExamBLL.SimpleExam("bloodfat", value);
            var examRet = GetResultModel(result, risk, advice);

            ExamBLL.SaveBloodFat(value, clientId, examRet);
            return(new { Result = true });
        }