public void addPatientClaimDiagnose() { PatientClaimDiagnose _PatientClaimDiagnose = new PatientClaimDiagnose { icdICDNumber = "0020", PatientClaimID = 1 }; var _id = _patientRepository.addPatientClaimDiagnose(_PatientClaimDiagnose); Assert.IsTrue(_id > 0, "failed"); }
public ActionResult SavePatientClaimDiagnose(PatientClaimDiagnose PatientClaimDiagnoseDetails) { var _Result = GlobalConst.ConstantChar.Zero; try { if (PatientClaimDiagnoseDetails.PatientClaimID != GlobalConst.ConstantChar.Zero) { _Result = _iPatientService.addPatientClaimDiagnose(Mapper.Map <MMCService.PatientService.PatientClaimDiagnose>(PatientClaimDiagnoseDetails)); } } catch { _Result = GlobalConst.ConstantChar.Zero; } return(Json(_Result)); }
public int updatePatientClaimDiagnose(PatientClaimDiagnose _patientClaimDiagnose) { return(_patientRepository.updatePatientClaimDiagnose(Mapper.Map <DTO.PatientClaimDiagnose, MMC.Core.Data.Model.PatientClaimDiagnose>(_patientClaimDiagnose))); }
public int updatePatientClaimDiagnose(PatientClaimDiagnose _patientClaimDiagnose) { return(_patientClaimDiagnoseRepo.Update(_patientClaimDiagnose)); }
public int addPatientClaimDiagnose(PatientClaimDiagnose _patientClaimDiagnose) { return(_patientClaimDiagnoseRepo.Add(_patientClaimDiagnose).PatientClaimDiagnosisID); }