public PatientPartner UpdatePatientPartner(PatientPartner patientpartner) { using (UnitOfWork unitOfWork = new UnitOfWork(new GreencardContext())) { unitOfWork.PatientPartnersRepository.Update(patientpartner); unitOfWork.Complete(); unitOfWork.Dispose(); return(patientpartner); } }
public PatientPartner UpdatePatientPartner(PatientPartner pat) { return(_mgr.UpdatePatientPartner(pat)); }
public PatientPartner addPatientPartner(PatientPartner patientPartner) { return(_mgr.addPatientPartner(patientPartner)); }