Ejemplo n.º 1
0
 public UserCommandHandler(IUserRepository userRepository,
                           IMediatorHandler bus,
                           IHashString hashString,
                           INotificationHandler <DomainNotification> notifications)
     : base(userRepository, bus, notifications)
 {
     _userRepository = userRepository;
     _hashString     = hashString;
     _bus            = bus;
 }
Ejemplo n.º 2
0
 public UserAppService(IUserRepository userRepository,
                       IJwtTokenHandler jwtTokenHandler,
                       IHashString hashString,
                       IMediatorHandler bus,
                       IMapper mapper,
                       ICacheManager cache)
 {
     _userRepository  = userRepository;
     _jwtTokenHandler = jwtTokenHandler;
     _hashString      = hashString;
     _bus             = bus;
     _mapper          = mapper;
     _cache           = cache;
 }