예제 #1
0
 public ReservationController(IReservationManagement reservationManagement, IFacilityManagement facilityManagement)
 {
     this.reservationManagement = reservationManagement ?? throw new ArgumentNullException(nameof(reservationManagement));
     this.facilityManagement    = facilityManagement ?? throw new ArgumentNullException(nameof(facilityManagement));
 }
예제 #2
0
 public FacilityController(IFacilityManagement facilityManagement, IMapper mapper, ILogger <FacilityController> logger)
 {
     this.facilityManagement = facilityManagement;
     this.mapper             = mapper;
     this.logger             = logger;
 }