コード例 #1
0
 public ReservationAppService(ICarReadRepository carReadRepository,
                              IAssociateReadRepository associateReadRepository,
                              ICustomerReadRepository customerReadRepository,
                              IReservationDomainService reservationDomainService,
                              IReservationReadRepository reservationReadRepository,
                              IRateDomainService rateDomainService,
                              IRateReadRepository rateReadRepository)
 {
     _carReadRepository         = carReadRepository;
     _associateReadRepository   = associateReadRepository;
     _customerReadRepository    = customerReadRepository;
     _reservationDomainService  = reservationDomainService;
     _reservationReadRepository = reservationReadRepository;
     _rateDomainService         = rateDomainService;
     _rateReadRepository        = rateReadRepository;
 }
コード例 #2
0
 public ReservationAppService(IReservationDomainService reservationDomainService)
 {
     _reservationDomainService = reservationDomainService;
 }
コード例 #3
0
 public ReservationController(IReservationDomainService reservationService)
 {
     this.reservationService = reservationService;
 }