private RenovationService SetupRenovationService() { RenovationService renovationService = new RenovationService(_stubRepository.CreateRenovationStubRepository(), _stubRepository.CreateExaminationStubRepository(), new ExaminationService(_stubRepository.CreateExaminationStubRepository()), _stubRepository.CreateEquipmentTransferStubRepository(), _stubRepository.CreateRoomStubRepository()); return(renovationService); }
private EquipmentService SetupEquipmentService() { EquipmentService _equipmentService = new EquipmentService(_stubRepository.CreateEquipmentStubRepository(), _stubRepository.CreateEquipmentInRoomStubRepository(), _stubRepository.CreateExaminationStubRepository(), _stubRepository.CreateEquipmentTransferStubRepository(), _stubRepository.CreateEquipmentInExaminationRepository()); return(_equipmentService); }
public ScheduleAppointmentService SetupScheduleAppointmentService() { return(new ScheduleAppointmentService(_stubRepository.CreateExaminationStubRepository())); }
private EquipmentController SetupEquipmentController() { EquipmentService _equipmentService = new EquipmentService(_stubRepository.CreateEquipmentStubRepository(), _stubRepository.CreateEquipmentInRoomStubRepository(), _stubRepository.CreateExaminationStubRepository()); EquipmentTypeService equipmentTypeService = new EquipmentTypeService(_stubRepository.CreateEquipmentTypeStubRepository()); EquipmentInRoomsService equipmentInRoomsService = new EquipmentInRoomsService(_stubRepository.CreateEquipmentInRoomStubRepository(), _equipmentService); EquipmentTransferService equipmentTransferService = new EquipmentTransferService(_stubRepository.CreateEquipmentTransferStubRepository()); EquipmentController _equipmentController = new EquipmentController(_equipmentService, equipmentTypeService, equipmentInRoomsService, equipmentTransferService); return(_equipmentController); }