Exemplo n.º 1
0
        private RoomService SetupRoomService()
        {
            RoomService roomService = new RoomService(_stubRepository.CreateRoomStubRepository(),
                                                      null,
                                                      _stubRepository.CreateEquipmentInRoomStubRepository(),
                                                      _stubRepository.CreateEquipmentStubRepository());

            return(roomService);
        }
Exemplo n.º 2
0
        private RenovationService SetupRenovationService()
        {
            RenovationService renovationService = new RenovationService(_stubRepository.CreateRenovationStubRepository(),
                                                                        _stubRepository.CreateExaminationStubRepository(),
                                                                        new ExaminationService(_stubRepository.CreateExaminationStubRepository()),
                                                                        _stubRepository.CreateEquipmentTransferStubRepository(),
                                                                        _stubRepository.CreateRoomStubRepository());

            return(renovationService);
        }