コード例 #1
0
        public ApiResultModel updatePatientSecretAnswers(long patientId, UpdateSecretQuestions model)
        {
            var strContent = JsonConvert.SerializeObject(model);
            var request    = ApiConsumerHelper.PostData("api/updatePatientSecretAnswers?patientId=" + patientId, strContent);

            var result = JsonConvert.DeserializeObject <ApiResultModel>(request);

            return(result);
        }
コード例 #2
0
        public ApiResultModel AddUpdateDoctorSecretAnswers(UpdateSecretQuestions model)
        {
            var strContent = JsonConvert.SerializeObject(model);
            var request    = ApiConsumerHelper.PostData("api/updateDoctorSecretAnswers?doctorId=" + model.doctorID, strContent);

            var result = JsonConvert.DeserializeObject <ApiResultModel>(request);

            return(result);
        }