public JwtAuthorization(IOptions <AppSettings> options, IUserRepository UserRepository, IPasswordManager PasswordManager, IRolesRepository RolesRepository, IPermissionsRepository PermissionsRepository) { this.options = options; passwordManager = PasswordManager; userRepository = UserRepository; rolesRepository = RolesRepository; permissionsRepository = PermissionsRepository; }
public RoleAssignmentService( IMapper mapper, IRoleAssignmentRepository roleAssignmentRepository, IPermissionsRepository permissionsRepository, IConfigurationService configurationService) { _mapper = mapper; _roleAssignmentRepository = roleAssignmentRepository; _permissionsRepository = permissionsRepository; _configurationService = configurationService; }
/// <summary> /// Initializes a new instance of /// type PermissionsService. /// </summary> /// <param name="PermissionsRepository"></param> /// <param name="unitOfWork"></param> public PermissionsService( IPermissionsRepository PermissionsRepository, IRolePermissionsRepository rolePermissionsRepository, IUserPermissionsRepository userPermissionsRepository, IGroupPermissionsRepository groupPermissionsRepository, ILanguageService languageService, IUnitOfWork unitOfWork) { this._PermissionsRepository = PermissionsRepository; this._rolePermissionsRepository = rolePermissionsRepository; this._userPermissionsRepository = userPermissionsRepository; this._groupPermissionsRepository = groupPermissionsRepository; this._languageService = languageService; this._unitOfWork = unitOfWork; }
private void ResetRepositories() { _productRepository = null; _categoryRepository = null; _StaffRepository = null; _companyRepository1 = null; _deputyRepository = null; _usersRepository = null; _userTypeRepository = null; _userGroupRepository = null; _permissionsRepository = null; _poRepository = null; _poDetailRepository = null; _quotationDetailRepository = null; _quotationRepository = null; _companyRepository1 = null; _deputyRepository = null; _subCategoryRepository = null; _seriesRepository = null; _productStandardRepository = null; _classProductRepository = null; _classSafetyRepository = null; _lampTypeRepository = null; _bankBaseRepository = null; _materialRepository = null; _supplierRepository = null; _planningRepository = null; _planningDetailRepository = null; _originRepository = null; _unitRepository = null; _gridviewRepository = null; _deliveryRepository = null; _paymentMethodRepository = null; _gridviewRepository = null; _projectBaseRepository = null; _requestPaymentBaseRepository = null; _paymentRepository = null; _approveLogRepository = null; _debtDetailRepository = null; _requestSentRepository = null; _suggestionRepository = null; }
public AccountServices( IUsersRepository users_dal, IModulesRepository modules_dal, IRolesRepository role_dal, IRoleUsersRepository roleUsers_dal, IUserGroupsRepository userGroups_dal, IUserGroupRolesRepository userGroupRoles_dal, IUserGroupUsersRepository userGroupUsers_dal, IPermissionRolesRepository permissionRoles_dal, IPermissionsRepository permissions_dal ) { _users_dal = users_dal; _modules_dal = modules_dal; _role_dal = role_dal; _roleUsers_dal = roleUsers_dal; _userGroups_dal = userGroups_dal; _userGroupRoles_dal = userGroupRoles_dal; _userGroupUsers_dal = userGroupUsers_dal; _permissionRoles_dal = permissionRoles_dal; _permissions_dal = permissions_dal; }
public ActionPermissionRepository(ILogger <ActionPermissionRepository> logger, IPermissionsRepository PermissionsRepository, IActionRolesRepository ActionRoles) : base(logger) { this.PermissionsRepository = PermissionsRepository; this.ActionRoles = ActionRoles; }
public PermissionsService(IPermissionsRepository repository) => _repository = repository;
public DbRoleValidator(IRolesRepository RolesRepository, IPermissionsRepository PermissionsRepository) { this.RolesRepository = RolesRepository; this.PermissionsRepository = PermissionsRepository; }
public EmployeeDoorAuthorizationHandler(IPermissionsRepository permissionsRepository) { _permissionsRepository = permissionsRepository; }
public PermissionsController(IPermissionsRepository permissionsRepository) { _permissionsRepository = permissionsRepository; }
public PermissionsService(IPermissionsRepository PermissionsRepository) { this._PermissionsRepository = PermissionsRepository ?? throw new ArgumentNullException(nameof(PermissionsRepository)); }
public PermissionsService(IPermissionsRepository permissionsRepository) { _permissionsRepository = permissionsRepository; }
public PermissionsService(IPermissionsRepository permissionsRepository, IRolePermissionsJoinRepository rolePermissionsJoinRepository) { _permissionsRepository = permissionsRepository; _rolePermissionsJoinRepository = rolePermissionsJoinRepository; }
public PermissionsServices(IPermissionsRepository dal) { this.dal = dal; base.baseDal = dal; }
public RoleInitializer(IRolesRepository RoleRepository, IPermissionsRepository PermissionsRepository) { this.roleRepository = RoleRepository; this.permissionsRepository = PermissionsRepository; }
/// <summary> /// 权限服务 /// </summary> /// <param name="permissionsRepository"></param> public PermissionService(IPermissionsRepository permissionsRepository) { _permissionsRepository = permissionsRepository; }
public PermissionsService(IPermissionsRepository permissionsRepository, IMapper mapper) { _permissionsRepository = permissionsRepository; _mapper = mapper; }
public PermissionsService(IPermissionsRepository permissionsRepository, IRolesCsvProvider rolesCsvProvider) { _permissionsRepository = permissionsRepository; _rolesCsvProvider = rolesCsvProvider; }
public PermissionsService(IPermissionsRepository permissionsRepository, ILog log) { _permissionsRepository = permissionsRepository; Log = log; }
public PermissionsService(IPermissionsRepository permissionsRepository, IUsersService usersService) { _permissionsRepository = permissionsRepository; _usersService = usersService; }
public PermissionsController(IPermissionsRepository studentsRepository, IEnrollmentRepository enrollmentRepository) { _permissionsRepository = studentsRepository; _enrollmentRepository = enrollmentRepository; }