Esempio n. 1
0
        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";
        }
Esempio n. 2
0
 public BookingService(IDatabase database, IBookingValidationService bookingValidationService, IReadOnlyProfileService profileService)
 {
     this.database = database;
     this.bookingValidationService = bookingValidationService;
     this.profileService           = profileService;
 }