public OfferDetailsModel(IReadOnlyOfferService offerService, IBookingService bookingService, IOpinionService opinionService, IBookingValidationService bookingValidationService, IRatingManager ratingManager, IMapper mapper) { this.offerService = offerService; this.bookingService = bookingService; this.opinionService = opinionService; this.bookingValidationService = bookingValidationService; this.ratingManager = ratingManager; this.mapper = mapper; Title = "Offer"; }
public BookingService(IDatabase database, IBookingValidationService bookingValidationService, IReadOnlyProfileService profileService) { this.database = database; this.bookingValidationService = bookingValidationService; this.profileService = profileService; }