public UserTokenStorageService( IUnitOfWork unitOfWork, ISecurityService securityService, IUserTokenFactoryService userTokenFactoryService, IRoleService roleService, IUserRoleService userRoleService, IGroupRoleService groupRoleService, IOptionsSnapshot <SiteSettings> options) { _unitOfWork = unitOfWork; _unitOfWork.CheckArgumentIsNull(nameof(_unitOfWork)); _securityService = securityService; _securityService.CheckArgumentIsNull(nameof(_securityService)); _userTokenFactoryService = userTokenFactoryService; _userTokenFactoryService.CheckArgumentIsNull(nameof(userTokenFactoryService)); _roleService = roleService; _roleService.CheckArgumentIsNull(nameof(roleService)); _userRoleService = userRoleService; _userRoleService.CheckArgumentIsNull(nameof(_userRoleService)); _groupRoleService = groupRoleService; _groupRoleService.CheckArgumentIsNull(nameof(_groupRoleService)); options.CheckArgumentIsNull(nameof(options)); _bearerTokensOptions = options.Value.BearerTokensOptions; _userTokenStorages = _unitOfWork.Set <UserTokenStorage>(); }
/// <summary> /// ctor /// </summary> /// <param name="mapper">aa</param> /// <param name="logger"></param> /// <param name="groupMemberService"></param> /// <param name="groupService"></param> /// <param name="groupRoleService"></param> public GroupMemberController(IMapper mapper, ILogger <GroupMemberController> logger, IGroupMemberService groupMemberService, IGroupService groupService, IGroupRoleService groupRoleService) : base(mapper, logger) { _groupMemberService = groupMemberService; _groupService = groupService; _groupRoleService = groupRoleService; }
public ManagerstaffsController(IStaffService staffservice, IMapper mapper, IDepartmentService departmentService, IGroupRoleService groupRoleService, IPositionService positionService, IAddressService addressService) { this._staffservice = staffservice; this._mapper = mapper; this._departmentservice = departmentService; this._groupRoleservice = groupRoleService; this._positionService = positionService; this._addressService = addressService; }
public UserTokenFactoryService( ISecurityService securityService, IGroupRoleService groupRoleService, IOptionsSnapshot <SiteSettings> options, ILogger <UserTokenFactoryService> logger) { _securityService = securityService; _securityService.CheckArgumentIsNull(nameof(_securityService)); _groupRoleService = groupRoleService; _groupRoleService.CheckArgumentIsNull(nameof(groupRoleService)); _bearerTokensOptions = options.Value.BearerTokensOptions; _logger = logger; _logger.CheckArgumentIsNull(nameof(logger)); }
public ManagerGroupRoleController(IGroupRoleService group_roleservice, IMapper mapper) { this._group_roleservice = group_roleservice; this._mapper = mapper; }