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; }
public BookingsService(IBookingsRepository repository, ILodgmentCalculator lodgmentCalculator) { this.repository = repository; this.lodgmentCalculator = lodgmentCalculator; }