Exemple #1
0
 public ReservationsController(IGetReservationsCommand getReservations, IAddReservationCommand addReservation, IGetReservationCommand getReservation, IDeleteReservationCommand deleteReservation)
 {
     this.getReservations   = getReservations;
     this.addReservation    = addReservation;
     this.getReservation    = getReservation;
     this.deleteReservation = deleteReservation;
 }
Exemple #2
0
 public ReservationController(IAddReservationCommmand addReservationCommand, IDeleteReservationCommand deleteReservationCommand, IGetReservationCommand getReservationCommand, IEditReservationCommand editReservationCommand, IGetReservationsCommand getReservationsCommmand)
 {
     _addReservationCommand    = addReservationCommand;
     _deleteReservationCommand = deleteReservationCommand;
     _getReservationCommand    = getReservationCommand;
     _editReservationCommand   = editReservationCommand;
     _getReservationsCommmand  = getReservationsCommmand;
 }
Exemple #3
0
 public HomeController(ILogger <HomeController> logger, IGetMoviesCommand getMovies, IGetMovieCommand getMovie, IGetPostersCommand getPosters, IGetCommentsCommand getComments, IGetProjectionsCommand getProjections, IGetActorsCommand getActors, IGetReservationsCommand getReservations, IAutoAddSeatValuesCommand autoAdd, ImdbTop100Command imdbService)
 {
     _logger              = logger;
     this.getMovies       = getMovies;
     this.getMovie        = getMovie;
     this.getPosters      = getPosters;
     this.getComments     = getComments;
     this.getProjections  = getProjections;
     this.getActors       = getActors;
     this.getReservations = getReservations;
     this.autoAdd         = autoAdd;
     this.imdbService     = imdbService;
 }
 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;
 }