Esempio n. 1
0
 public CarParkManager(ICarParkRepository repository, IMappingService mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }
Esempio n. 2
0
 public ReservationService(IReservationRepository reservationRepository, IParkingPricesService parkingPricesService, ICarParkRepository carParkRepository)
 {
     this.reservationRepository = reservationRepository;
     this.parkingPricesService  = parkingPricesService;
     this.carParkRepository     = carParkRepository;
 }
Esempio n. 3
0
 public CarParkService(ICarParkRepository carParkRepository)
 {
     this.carParkRepository = carParkRepository;
 }
Esempio n. 4
0
 public CarParkServiceTest()
 {
     carParkRepository = A.Fake <ICarParkRepository>();
 }
Esempio n. 5
0
 public ReservationServiceTest()
 {
     reservationRepository = A.Fake <IReservationRepository>();
     parkingPricesService  = A.Fake <IParkingPricesService>();
     carParkRepository     = A.Fake <ICarParkRepository>();
 }