コード例 #1
0
 public ReservationsController(IGetReservationsCommand getReservations, IAddReservationCommand addReservation, IGetReservationCommand getReservation, IDeleteReservationCommand deleteReservation)
 {
     this.getReservations   = getReservations;
     this.addReservation    = addReservation;
     this.getReservation    = getReservation;
     this.deleteReservation = deleteReservation;
 }
コード例 #2
0
 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;
 }