public SeatsController(IAddSeatCommand addSeat, IGetSeatsCommand getSeats, IGetSeatCommand getSeat, IEditSeatCommand editSeat, IDeleteSeatCommand deleteSeat) { this.addSeat = addSeat; this.getSeats = getSeats; this.getSeat = getSeat; this.editSeat = editSeat; this.deleteSeat = deleteSeat; }
public SeatsController(IGetSeatsCommand getSeats, IGetSeatCommand getSeat, IAddSeatCommand addSeat, IEditSeatCommand editSeat, IDeleteSeatCommand deleteSeat, UseCaseExecutor executor) { this.getSeats = getSeats; this.getSeat = getSeat; this.addSeat = addSeat; this.editSeat = editSeat; this.deleteSeat = deleteSeat; this.executor = executor; }