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