public BookingRepository(
     BookingCabinsComparer bookingComparer,
     CabinRepository cabinRepository,
     CruiseRepository cruiseRepository,
     DeletedBookingRepository deletedBookingRepository,
     PriceCalculator priceCalculator,
     ProductRepository productRepository,
     CredentialsGenerator credentialsGenerator,
     AecUserManager userManager)
 {
     _bookingComparer          = bookingComparer;
     _cabinRepository          = cabinRepository;
     _cruiseRepository         = cruiseRepository;
     _deletedBookingRepository = deletedBookingRepository;
     _priceCalculator          = priceCalculator;
     _productRepository        = productRepository;
     _credentialsGenerator     = credentialsGenerator;
     _userManager = userManager;
 }
示例#2
0
 public ReportingService(CruiseRepository cruiseRepository, ReportRepository reportRepository)
 {
     _cruiseRepository = cruiseRepository;
     _reportRepository = reportRepository;
 }