Exemplo n.º 1
0
 public ReservationController(
     IReservationAppService reservationAppService,
     IReservationQueryService reservationQueryService,
     IAccountQueryService accountQueryService,
     IEquipmentQueryService equipmentQueryService)
 {
     _reservationAppService   = reservationAppService;
     _reservationQueryService = reservationQueryService;
     _accountQueryService     = accountQueryService;
     _equipmentQueryService   = equipmentQueryService;
 }
Exemplo n.º 2
0
 public ResservationController(IReservationCommandService reservation, IReservationQueryService reservationQueryService)
 {
     _reservation             = reservation ?? throw new ArgumentNullException(nameof(reservation));
     _reservationQueryService = reservationQueryService ?? throw new ArgumentNullException(nameof(reservationQueryService));
 }