Esempio n. 1
0
 public PackagesController(IPackageService packageService, IGetUserService getUserService, IGetUsersService getUsersService, IGetPackagesService getPackagesService)
 {
     this.packageService     = packageService;
     this.getUserService     = getUserService;
     this.getUsersService    = getUsersService;
     this.getPackagesService = getPackagesService;
 }
Esempio n. 2
0
 public AccountController(ISignInService signInService,
                          ISignOutService signOutService,
                          IGetUsersService getUsersService)
 {
     this.signInService   = signInService;
     this.signOutService  = signOutService;
     this.getUsersService = getUsersService;
 }
Esempio n. 3
0
 public AccountApiController(ISignInService signInService,
                             IGetUsersService getUsersService, JwtConfiguration jwtConfiguration,
                             IDateTimeProvider dateTimeProvider)
 {
     this.signInService    = signInService;
     this.getUsersService  = getUsersService;
     this.jwtConfiguration = jwtConfiguration;
     this.dateTimeProvider = dateTimeProvider;
 }
Esempio n. 4
0
 public UsersController(IJsonFileDataService jsonHelper, IGetUsersService getUsersHelper,
                        IIdService getIdHelper, IGetValidInputService validInputHelper, IFilePathService filePathService)
 {
     _jsonHelper       = jsonHelper;
     _getUsersHelper   = getUsersHelper;
     _getIdHelper      = getIdHelper;
     _validInputHelper = validInputHelper;
     _filePathService  = filePathService;
 }
Esempio n. 5
0
 // GET: UserController
 public UserController(IGetUsersService getUsersService, IGetRolesService getRolesService,
                       IRegisterUserService registerUserService, IDeleteUserService deleteUserService,
                       IUserStatusChangeService userStatusChangeService, IEditUserService editUserService)
 {
     _getUsersService         = getUsersService;
     _getRolesService         = getRolesService;
     _registerUserService     = registerUserService;
     _deleteUserService       = deleteUserService;
     _userStatusChangeService = userStatusChangeService;
     _edituserservice         = editUserService;
 }
Esempio n. 6
0
 public UserController(ICreateUserService createUserService, IGetUsersService getUsersService,
                       IUpdateUserService updateUserService, IChangePasswordService changePasswordService,
                       IGetRolesService getRolesService, IDeleteUserService deleteUserService,
                       IGetPermissionsService getPermissionsService, IPermissionVerificationService permissionVerificationService)
 {
     this.createUserService             = createUserService;
     this.getUsersService               = getUsersService;
     this.updateUserService             = updateUserService;
     this.changePasswordService         = changePasswordService;
     this.getRolesService               = getRolesService;
     this.deleteUserService             = deleteUserService;
     this.getPermissionsService         = getPermissionsService;
     this.permissionVerificationService = permissionVerificationService;
 }
Esempio n. 7
0
 public UserController(
     SiteSettings siteSettings,
     IAddUserRoleRelationService addUserRoleRelationService,
     IAddUserService addUserService,
     IDeleteUserRoleRelationService deleteUserRoleRelationService,
     IDeleteUserService deleteUserService,
     IFindUserService findUserService,
     IGetApplicationsService getApplicationsService,
     IGetRolesService getRolesService,
     IGetUsersService getUsersService,
     IUpdateUserService updateUserService)
 {
     _siteSettings = siteSettings;
     _addUserRoleRelationService    = addUserRoleRelationService;
     _addUserService                = addUserService;
     _deleteUserRoleRelationService = deleteUserRoleRelationService;
     _deleteUserService             = deleteUserService;
     _findUserService               = findUserService;
     _getApplicationsService        = getApplicationsService;
     _getRolesService               = getRolesService;
     _getUsersService               = getUsersService;
     _updateUserService             = updateUserService;
 }
Esempio n. 8
0
 public UsersController(IConfiguration configuration, IUserUpdateService userUpdateService, IGetUsersService getUsersService)
 {
     _userUpdateService = userUpdateService;
     _getUsersService   = getUsersService;
 }