Example #1
0
 public HallsController(IAddHallCommand addHall, IGetHallsCommand getHalls, IGetHallCommand getHall, IEditHallCommand editHall, IDeleteHallCommand deleteHall)
 {
     this.addHall    = addHall;
     this.getHalls   = getHalls;
     this.getHall    = getHall;
     this.editHall   = editHall;
     this.deleteHall = deleteHall;
 }
Example #2
0
 public HallsController(IGetHallsCommand getHalls, IGetHallCommand getHall, IAddHallCommand addHall, IEditHallCommand editHall, IDeleteHallCommand deleteHall, UseCaseExecutor executor)
 {
     this.getHalls   = getHalls;
     this.getHall    = getHall;
     this.addHall    = addHall;
     this.editHall   = editHall;
     this.deleteHall = deleteHall;
     this.executor   = executor;
 }
Example #3
0
 public ProjectionsController(IGetProjectionsCommand getProjections, IGetProjectionCommand getProjection, IAddProjectionCommand addProjection, IEditProjectionCommand editProjection, IDeleteProjectionCommand deleteProjection, IGetMoviesCommand getMovies, IGetHallsCommand getHalls, UseCaseExecutor executor)
 {
     this.getProjections   = getProjections;
     this.getProjection    = getProjection;
     this.addProjection    = addProjection;
     this.editProjection   = editProjection;
     this.deleteProjection = deleteProjection;
     this.getMovies        = getMovies;
     this.getHalls         = getHalls;
     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;
 }