public object ExamBloodPressure(dynamic obj) { float highVal = obj.highVal; float lowVal = obj.lowVal; float heartRate = obj.heartRate; string clientId = obj.clientId; string result = obj.result; string risk = obj.risk; string advice = obj.advice; // var examRet = ExamBLL.ExamBloodPressure(highVal, lowVal); var examRet = GetResultModel(result, risk, advice); ExamBLL.SaveBloodPressure(highVal, lowVal, heartRate, clientId, examRet); return(new { Result = true }); }