Esempio n. 1
0
 public RoleUsersService(IAuthUserRepository authUserRepository, IClock clock, IIdGenerator idGenerator,
                         IRoleRepository roleRepository, IUserRoleDomainService userRoleDomainService, IUnitOfWork unitOfWork)
 {
     _authUserRepository = authUserRepository;
     _clock                 = clock;
     _idGenerator           = idGenerator;
     _roleRepository        = roleRepository;
     _userRoleDomainService = userRoleDomainService;
     _unitOfWork            = unitOfWork;
 }
Esempio n. 2
0
 public LoginService(IRepository <LoginTokenEntity> loginTokenRepository, INumberConvert numberConvert, IRepository <UserEntity> userRepository, IEncryptHelper encryptHelper, IUserResourceDomainService userResourceDomainService, IMapper mapper, IRepository <ApplicationEntity> appRepository, IOptions <AppOption> appOptions, IUserRoleDomainService userRoleDomainService)
 {
     this._loginTokenRepository      = loginTokenRepository;
     this._numberConvert             = numberConvert;
     this._userRepository            = userRepository;
     this._encryptHelper             = encryptHelper;
     this._userResourceDomainService = userResourceDomainService;
     this._mapper               = mapper;
     this._appRepository        = appRepository;
     this._appOptions           = appOptions;
     this.userRoleDomainService = userRoleDomainService;
 }
Esempio n. 3
0
 /// <summary>Initializes a new instance of the <see cref="T:System.Object"></see> class.</summary>
 public UserService(IIdGenerator idGenerate,
                    IEncryptHelper encryptHelper,
                    IRepository <UserEntity> userRepository,
                    IMapper mapper,
                    IUserResourceDomainService userResourceDomainService,
                    IUserRoleDomainService userRoleDomainService)
 {
     this._userRoleDomainService = userRoleDomainService;
     this._idGenerate            = idGenerate;
     this._encryptHelper         = encryptHelper;
     this._userRepository        = userRepository;
     this._mapper = mapper;
     this._userResourceDomainService = userResourceDomainService;
 }
Esempio n. 4
0
 public AuthUserRolesTest()
 {
     _userRoleService = new UserRoleDomainService();
 }
 public UserRoleController(IUserRoleDomainService service)
     : base(service)
 {
 }
 public UserRegistrationDomainService(IClock clock, IUserRoleDomainService userRoleService)
 {
     _clock           = clock;
     _userRoleService = userRoleService;
 }