Example #1
0
        public object ExamBloodSugar(dynamic obj)
        {
            float  value    = obj.value;
            string clientId = obj.clientId;
            int    status   = obj.status;
            string result   = obj.result;
            string risk     = obj.risk;
            string advice   = obj.advice;
            var    examRet  = GetResultModel(result, risk, advice);

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