コード例 #1
0
 public RoomsController(IRoomClassService roomClassService, IRoomTypeService roomTypeService, IRoomService roomService, ICruiseService cruiseService)
 {
     _roomClassService = roomClassService;
     _roomTypeService = roomTypeService;
     _roomService = roomService;
     _cruiseService = cruiseService;
 }
コード例 #2
0
        public CruisesController(ICruiseService cruiseService, IMappingService mappingService, IImageService imageService)
            : base(mappingService, imageService)
        {
            Guard.WhenArgument(cruiseService, "Cruise service is null.").IsNull().Throw();

            this.cruiseService = cruiseService;
        }
コード例 #3
0
 public CruiseController(ICruiseService cruiseService)
 {
     this.cruiseService = cruiseService;
 }
コード例 #4
0
 public CruisesController(ICruiseService cruiseService, ITripService tripService)
 {
     _cruiseService = cruiseService;
     _tripService = tripService;
 }
コード例 #5
0
 public VoucherBatchesController(IVoucherBatchService voucherBatchService, ITripService tripService, ICruiseService cruiseService, IVoucherTemplateService voucherTemplateService, IVoucherCodeService voucherCodeService)
 {
     _voucherBatchService = voucherBatchService;
     _tripService = tripService;
     _cruiseService = cruiseService;
     _voucherTemplateService = voucherTemplateService;
     _voucherCodeService = voucherCodeService;
 }
コード例 #6
0
 public BookingCruisesViewModel(ICruiseService cruiseService)
 {
     _cruiseService = cruiseService;
 }