Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 public BloodGroupRepo()
 {
     bpo = new DataContextRepo <BloodGroup>();
 }
Exemplo n.º 3
0
 public TitleRepo()
 {
     titleDb = new DataContextRepo <Title>();
 }