Пример #1
0
 public EmergencyController(IRequesterService requesterService, IEmergencyRest emergencyRest, UserService userService, IEmergencyHistoryRest emergencyHistoryRest)
 {
     _userService          = userService;
     _requesterService     = requesterService;
     _emergencyRest        = emergencyRest;
     _emergencyHistoryRest = emergencyHistoryRest;
 }
 public EvaluationController(IRequesterService requesterService, IEmergencyRest emergencyRest, UserService userService,
                             IMedicalEvaluationRest medicalEvaluationRest, IEmployeeRest employeeRest, IMedicalDecisionHistoryRest medicalDecisionHistoryRest,
                             IEmergencyRequiredVehicleRest emergencyRequiredVehicleRest)
 {
     _medicalDecisionHistoryRest = medicalDecisionHistoryRest;
     _employeeRest                 = employeeRest;
     _userService                  = userService;
     _requesterService             = requesterService;
     _emergencyRest                = emergencyRest;
     _medicalEvaluationRest        = medicalEvaluationRest;
     _emergencyRequiredVehicleRest = emergencyRequiredVehicleRest;
 }
 public EmployeeRepository(IRequesterService requesterService)
 {
     this.requesterService = requesterService;
 }
Пример #4
0
 public void TestInitialize()
 {
     requesterService = Substitute.For <IRequesterService>();
 }