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