public PatientHighRisk UpdatePatientHighRisk(PatientHighRisk patienthighrisk) { using (UnitOfWork unitOfWork = new UnitOfWork(new GreencardContext())) { unitOfWork.PatientHighRiskRepository.Update(patienthighrisk); unitOfWork.Complete(); unitOfWork.Dispose(); return(patienthighrisk); } }
public PatientHighRisk UpdatePatientHighRisk(PatientHighRisk pat) { return(_mgr.UpdatePatientHighRisk(pat)); }
public PatientHighRisk addPatientHighRisk(PatientHighRisk patientHighRisk) { return(_mgr.addPatientHighRisk(patientHighRisk)); }