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;
 }
Exemple #2
0
 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;
 }
 public AccountController(ILoginUserCommand loginUser, IGetProjectionsCommand getProjections, IGetReservationsCommand getReservations, IGetProjectionCommand getProjection, IGetHallsCommand getHalls, IGetSeatsCommand getSeats, IGetUserCommand getUser, IAddReservationCommand addReservation, ITakenSeatsCommand takenSeats, IAddUserCommand addUser, IUpdateUserProfileCommand updateUser, IGetRolesCommand getRoles, IUpdateUserPasswordCommand updateUserPassword)
 {
     this.loginUser          = loginUser;
     this.getProjections     = getProjections;
     this.getReservations    = getReservations;
     this.getProjection      = getProjection;
     this.getHalls           = getHalls;
     this.getSeats           = getSeats;
     this.getUser            = getUser;
     this.addReservation     = addReservation;
     this.takenSeats         = takenSeats;
     this.addUser            = addUser;
     this.updateUser         = updateUser;
     this.getRoles           = getRoles;
     this.updateUserPassword = updateUserPassword;
 }