public void updatePatientClaimPleadBodyPart() { PatientClaimPleadBodyPart _PatientClaimPleadBodyPart = new PatientClaimPleadBodyPart { PleadBodyPartID = 4, PatientClaimID = 3, PatientClaimPleadBodyPartID = 6, BodyPartStatusID = 1 }; var _id = _patientRepository.updatePatientClaimPleadBodyPart(_PatientClaimPleadBodyPart); Assert.IsTrue(_id > 0, "failed"); }
public void addPatientClaimPleadBodyPart() { PatientClaimPleadBodyPart _PatientClaimPleadBodyPart = new PatientClaimPleadBodyPart { PleadBodyPartID = 5, PatientClaimID = 1, BodyPartStatusID = 1, AcceptedDate = DateTime.Now }; var _id = _patientRepository.addPatientClaimPleadBodyPart(_PatientClaimPleadBodyPart); Assert.IsTrue(_id > 0, "failed"); }
public ActionResult SavePatientClaimPleadBodyPart(PatientClaimPleadBodyPart PatientClaimPleadBodyPartDetails) { var _Result = GlobalConst.ConstantChar.Zero; try { if (PatientClaimPleadBodyPartDetails.PatientClaimPleadBodyPartID == GlobalConst.ConstantChar.Zero) { _Result = _iPatientService.addPatientClaimPleadBodyPart(Mapper.Map <MMCService.PatientService.PatientClaimPleadBodyPart>(PatientClaimPleadBodyPartDetails)); } else { _iPatientService.updatePatientClaimPleadBodyPart(Mapper.Map <MMCService.PatientService.PatientClaimPleadBodyPart>(PatientClaimPleadBodyPartDetails)); _Result = GlobalConst.ConstantChar.MinusOne; } } catch { _Result = GlobalConst.ConstantChar.Zero; } return(Json(_Result)); }
public int updatePatientClaimPleadBodyPart(PatientClaimPleadBodyPart _patientPleadBodyPart) { return(_patientRepository.updatePatientClaimPleadBodyPart(Mapper.Map <DTO.PatientClaimPleadBodyPart, MMC.Core.Data.Model.PatientClaimPleadBodyPart>(_patientPleadBodyPart))); }
public int updatePatientClaimPleadBodyPart(PatientClaimPleadBodyPart _patientClaimPleadBodyPart) { return(_patientClaimPleadBodyPartRepo.Update(_patientClaimPleadBodyPart)); }
public int addPatientClaimPleadBodyPart(PatientClaimPleadBodyPart _patientClaimPleadBodyPart) { return(_patientClaimPleadBodyPartRepo.Add(_patientClaimPleadBodyPart).PatientClaimPleadBodyPartID); }