Esempio n. 1
0
 public LodgmentsService(ILodgmentsRepository repository, ILodgmentCalculator lodgmentCalculator,
                         IStorageService storageService, IReviewsService reviewsService, IBookingsService bookingsService)
 {
     this.repository         = repository;
     this.lodgmentCalculator = lodgmentCalculator;
     this.storageService     = storageService;
     this.reviewsService     = reviewsService;
     this.bookingsService    = bookingsService;
 }
Esempio n. 2
0
 public BookingsService(IBookingsRepository repository, ILodgmentCalculator lodgmentCalculator)
 {
     this.repository         = repository;
     this.lodgmentCalculator = lodgmentCalculator;
 }