public PatientController(IPatientRepo patientRepo, //IBloodGroupRepo bloodGroupRepo, ITitleRepo titleRepo, IBillingRepository _BillingRepo, IPatientServices ps, EmailConfiguration _config) { this.patientRepo = patientRepo; this.ps = ps; patientPayorTypes = new DataContextRepo <PatientPayorTypes>(); patientDB = new DataContextRepo <Patient>(); _ctx = new DataContext(); _emailHelper = EmailMessageHelper.instance(_config); this._Billingrepo = _BillingRepo; //this.bloodGroupRepo = bloodGroupRepo; }
public BloodGroupRepo() { bpo = new DataContextRepo <BloodGroup>(); }
public TitleRepo() { titleDb = new DataContextRepo <Title>(); }