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); }
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); }