public DropDownController(
     IUserQueryService userQueryService,
     IRoleQueryService roleQueryService)
 {
     _userQueryService = userQueryService ?? throw new ArgumentNullException(nameof(userQueryService));
     _roleQueryService = roleQueryService ?? throw new ArgumentNullException(nameof(roleQueryService));
 }
Esempio n. 2
0
 public RolesController(
     IRoleLogicService roleLogicService,
     IRoleQueryService roleQueryService)
 {
     _roleLogicService = roleLogicService ?? throw new ArgumentNullException(nameof(roleLogicService));
     _roleQueryService = roleQueryService ?? throw new ArgumentNullException(nameof(roleQueryService));
 }
Esempio n. 3
0
 public RoleController(IRoleService roleService, IRoleQueryService roleQueryService, IRoleProcessingService roleProcessingService, IMapper mapper, ILogger logger)
 {
     _roleService           = roleService;
     _roleQueryService      = roleQueryService;
     _roleProcessingService = roleProcessingService;
     _mapper = mapper;
     _logger = logger;
 }
Esempio n. 4
0
 public RolesController(
     IAgencyQueryService agencyQueryService,
     IRoleCommandService roleCommandService,
     IRoleQueryService roleQueryService)
 {
     _agencyQueryService = agencyQueryService;
     _roleCommandService = roleCommandService;
     _roleQueryService   = roleQueryService;
 }
Esempio n. 5
0
 public RoleManager(IRoleQueryService roleQueryService,
                    IPowerManager powerManager,
                    ICacheManager cacheManager,
                    IRolePowerStore rolePowerStore)
 {
     _roleQueryService = roleQueryService;
     _powerManager     = powerManager;
     _cacheManager     = cacheManager;
     _rolePowerStore   = rolePowerStore;
 }
 public UserController(IUserCreationService service, IImageService imageService, IUserQueryService queryService, IRoleQueryService roleQueryService)
 {
     if (service == null)
     {
         throw new System.ArgumentNullException("subjectQueryService", "Subject auery service is null.");
     }
     this.service          = service;
     this.imageService     = imageService;
     this.queryService     = queryService;
     this.roleQueryService = roleQueryService;
 }
Esempio n. 7
0
 public TokenService(IOptions <JWTOptions> jWTOptions, IRoleQueryService roleQueryService)
 {
     _jWTOptions       = jWTOptions.Value;
     _roleQueryService = roleQueryService;
 }
Esempio n. 8
0
 public UserRoleController(ICommandService commandService, IRoleQueryService roleQueryService)
     : base(commandService)
 {
     _roleQueryService = roleQueryService;
 }
 public RoleController(IRoleQueryService roleQueryService, ICommandService commandService)
 {
     _commandService   = commandService;
     _roleQueryService = roleQueryService;
 }
Esempio n. 10
0
 public RoleHandle(IRoleQueryService roleQueryService, IDocumentService <RoleDto> documentService)
 {
     this._roleQueryService   = roleQueryService;
     this._roleDocumentServer = documentService;
 }
Esempio n. 11
0
 public UserController(ICommandService commandService, IUserQueryService userQuery, IRoleQueryService roleQuery)
 {
     _commandService = commandService;
     _userQuery      = userQuery;
     _roleQuery      = roleQuery;
 }