Esempio n. 1
0
 public ReservationController(IReservationAppService reservationAppService)
 {
     if (reservationAppService == null)
     {
         throw new ArgumentNullException("reservationAppService");
     }
     _reservationAppService = reservationAppService;
 }
Esempio n. 2
0
 public ReservationController(INotificationHandler <DomainNotification> notification,
                              IConfiguration Configuration,
                              IReservationAppService reservationAppService)
     : base(notification)
 {
     _reservationService  = reservationAppService;
     _configuration       = Configuration;
     _notificationHandler = (DomainNotificationHandler)notification;
 }
Esempio n. 3
0
 public ReservationController(
     IReservationAppService reservationAppService,
     IReservationQueryService reservationQueryService,
     IAccountQueryService accountQueryService,
     IEquipmentQueryService equipmentQueryService)
 {
     _reservationAppService   = reservationAppService;
     _reservationQueryService = reservationQueryService;
     _accountQueryService     = accountQueryService;
     _equipmentQueryService   = equipmentQueryService;
 }
 public ReservationController(IReservationAppService reservationAppService)
 {
     if (reservationAppService == null) throw new ArgumentNullException("reservationAppService");
     _reservationAppService = reservationAppService;
 }
Esempio n. 5
0
 public ReservationController(IReservationAppService reservationAppService)
 {
     _reservationAppService = reservationAppService;
 }
 public ReservationController(INotificationHandler <DomainNotification> notification,
                              IReservationAppService reservationService) : base(notification)
 {
     _reservationService = reservationService;
 }