public CreateGroupRoleCommandHandler(IUnitOfWork unitOfWork, IGroupRoleRepository groupRoleRepository, IGroupRepository groupRepository, ICurrentUserIdService currentUserIdService)
 {
     _unitOfWork           = unitOfWork;
     _groupRoleRepository  = groupRoleRepository;
     _groupRepository      = groupRepository;
     _currentUserIdService = currentUserIdService;
 }
 public AuthorizationBehaviour(
     ICurrentUserIdService currentUserIdService,
     IIdentityService identityService)
 {
     _currentUserIdService = currentUserIdService;
     _identityService      = identityService;
 }
        public PerformanceBehaviour(
            ILogger <TRequest> logger,
            ICurrentUserIdService currentUserIdService,
            IIdentityService identityService)
        {
            _timer = new Stopwatch();

            _logger = logger;
            _currentUserIdService = currentUserIdService;
            _identityService      = identityService;
        }
Beispiel #4
0
 public ApplicationDbContext(
     DbContextOptions options,
     IOptions <OperationalStoreOptions> operationalStoreOptions,
     IDomainEventService domainEventService,
     IDateTime dateTime,
     ICurrentUserIdService currentUserIdService) : base(options, operationalStoreOptions)
 {
     _domainEventService   = domainEventService;
     _dateTime             = dateTime;
     _currentUserIdService = currentUserIdService;
 }
Beispiel #5
0
 public CurrentUserService(IUserRepository userRepository, ICurrentUserIdService currentUserIdService)
 {
     _userRepository       = userRepository;
     _currentUserIdService = currentUserIdService;
 }
Beispiel #6
0
 public HomeController(ICurrentUserIdService currentUserIdService)
 {
     _currentUserIdService = currentUserIdService;
 }
Beispiel #7
0
 public LoggingBehaviour(ILogger <TRequest> logger, ICurrentUserIdService currentUserIdService, IIdentityService identityService)
 {
     _logger = logger;
     _currentUserIdService = currentUserIdService;
     _identityService      = identityService;
 }