示例#1
0
 public RolesController(IGetRolesCommand searchRolesCommand, IGetRoleCommand getOneRoleCommand, ICreateRoleCommand createRoleCommand, IEditRoleCommand editRoleCommand, IDeleteRoleCommand deleteRoleCommand)
 {
     _searchRolesCommand = searchRolesCommand;
     _getOneRoleCommand  = getOneRoleCommand;
     _createRoleCommand  = createRoleCommand;
     _editRoleCommand    = editRoleCommand;
     _deleteRoleCommand  = deleteRoleCommand;
 }
示例#2
0
 public RolesController(IGetRolesCommand getRoles, IGetRoleCommand getRole, IAddRoleCommand addRole, IEditRoleCommand editRole, IDeleteRoleCommand deleteRole)
 {
     this.getRoles   = getRoles;
     this.getRole    = getRole;
     this.addRole    = addRole;
     this.editRole   = editRole;
     this.deleteRole = deleteRole;
 }
示例#3
0
 public RolesController(IGetRolesCommand getRolesCommand, IGetRoleCommand getRoleCommand, IAddRoleCommand addRoleCommand, IEditRoleCommand editRoleCommand, IDeleteRoleCommand deleteRoleCommand)
 {
     this.getRolesCommand   = getRolesCommand;
     this.getRoleCommand    = getRoleCommand;
     this.addRoleCommand    = addRoleCommand;
     this.editRoleCommand   = editRoleCommand;
     this.deleteRoleCommand = deleteRoleCommand;
 }
 public RolesController(IAddRoleCommand addRole, IGetRolesCommand getRoles, IGetRoleComand getRole, IEditRoleCommand editRole, IDeleteRoleCommand deleteRole)
 {
     _addRole    = addRole;
     _getRoles   = getRoles;
     _getRole    = getRole;
     _editRole   = editRole;
     _deleteRole = deleteRole;
 }
示例#5
0
 public RoleController(IAddRolleCommand addRoleCommand, IGetRolesCommand getRolesCommand, IGetRoleCommand getRoleCommand, IEditRoleCommand editRoleCommand, IDeleteRoleCommand deleteRoleCommand)
 {
     _addRoleCommand    = addRoleCommand;
     _getRolesCommand   = getRolesCommand;
     _getRoleCommand    = getRoleCommand;
     _editRoleCommand   = editRoleCommand;
     _deleteRoleCommand = deleteRoleCommand;
 }
示例#6
0
 public RolesController(IDeleteRoleCommand deleteRoleCommand, IGetRoleCommand getRoleCommand, IGetRolesCommand getRolesCommand, IInsertRoleCommand insertRoleCommand, IUpdateRoleCommand updateRoleCommand)
 {
     this.deleteRoleCommand = deleteRoleCommand;
     this.getRoleCommand    = getRoleCommand;
     this.getRolesCommand   = getRolesCommand;
     this.insertRoleCommand = insertRoleCommand;
     this.updateRoleCommand = updateRoleCommand;
 }
示例#7
0
 public RolesController(IGetRolesCommand getRoles, IGetRoleCommand getRole, IAddRoleCommand addRole, IEditRoleCommand editRole, IDeleteRoleCommand deleteRole, UseCaseExecutor executor)
 {
     this.getRoles   = getRoles;
     this.getRole    = getRole;
     this.addRole    = addRole;
     this.editRole   = editRole;
     this.deleteRole = deleteRole;
     this.executor   = executor;
 }
示例#8
0
 public RolesController(IGetRoleCommand getRoleCommand, IGetRolesCommand getRolesCommand, IAddRoleCommand addRoleCommand, IEditRoleCommand editRoleCommand, IDeleteRoleCommand deleteRoleCommand, LoggedUser loggedUser)
 {
     _getRoleCommand    = getRoleCommand;
     _getRolesCommand   = getRolesCommand;
     _addRoleCommand    = addRoleCommand;
     _editRoleCommand   = editRoleCommand;
     _deleteRoleCommand = deleteRoleCommand;
     _loggedUser        = loggedUser;
 }
示例#9
0
 public UsersController(IGetUsersCommand getUsers, IGetUserCommand getUser, IAddUserCommand addUser, IGetRolesCommand getRoles, IEditUserCommand editUser, IDeleteUserCommand deleteUser, UseCaseExecutor executor, IAddUserCasesCommand addUserCases)
 {
     this.getUsers     = getUsers;
     this.getUser      = getUser;
     this.addUser      = addUser;
     this.getRoles     = getRoles;
     this.editUser     = editUser;
     this.deleteUser   = deleteUser;
     this.executor     = executor;
     this.addUserCases = addUserCases;
 }
示例#10
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;
 }
 public RolesController(ICreateRoleCommand createRole, IGetRolesCommand getRoles)
 {
     _createRole = createRole;
     _getRoles   = getRoles;
 }
示例#12
0
 public RolesController(IGetRolesCommand getCommand, IGetRoleCommand getOneCommand)
 {
     _getCommand    = getCommand;
     _getOneCommand = getOneCommand;
 }