예제 #1
0
        public PatientsControllerTests()
        {
            _patientLogic     = Substitute.For <IPatientLogic>();
            _patientValidator = Substitute.For <IValidator <PatientModel> >();

            _patientsController = new PatientsController(_patientLogic, _patientValidator);
        }
예제 #2
0
 public DiseaseController(IPatientLogic patientLogic, IDiseaseLogic diseaseLogic)
 {
     _patientLogic = patientLogic;
     _diseaseLogic = diseaseLogic;
 }
예제 #3
0
 public PatientController(IPatientLogic patientLogic)
 {
     _pl = patientLogic;
 }
예제 #4
0
 public PatientsController(IPatientLogic patientLogic, IValidator <PatientModel> patientValidator)
 {
     this._patientLogic     = patientLogic;
     this._patientValidator = patientValidator;
 }
예제 #5
0
 public ConsultationController(IConsultationLogic consultationLogic, IPatientLogic patientLogic, ICentreLogic centreLogic)
 {
     this._consultationLogic = consultationLogic;
     this._centreLogic       = centreLogic;
     this._patientLogic      = patientLogic;
 }
예제 #6
0
 public QueueController(IPatientLogic patientLogic)
 {
     _patientLogic = patientLogic;
 }
 public PatientsController(IPatientLogic patientLogic)
 {
     this.patientLogic = patientLogic;
 }
예제 #8
0
        public AdminPatientsController(IPatientLogic patientLogic, IHostingEnvironment hostingEnvironment)
        {
            this.patientLogic = patientLogic;

            this.hostingEnvironment = hostingEnvironment;
        }