public ContaService
 (
     INotificador notificador,
     IUsuarioRepository usuarioService,
     IMediatorHandler mediatorHandler,
     IBCryptPasswordHasher bcrypt
 ) : base(notificador)
 {
     _usuarioRepository = usuarioService;
     _mediatorHandler   = mediatorHandler;
     _bcrypt            = bcrypt;
 }
Beispiel #2
0
 public FuncionarioService
 (
     IFuncionarioRepository funcionarioRepository,
     INotificador notificador,
     IMediatorHandler mediatorHandler,
     IBCryptPasswordHasher passwordHash
 ) : base(notificador)
 {
     _funcionarioRepository = funcionarioRepository;
     _mediatorHandler       = mediatorHandler;
     _passwordHash          = passwordHash;
 }
 public UsuarioService
 (
     IUsuarioRepository usuarioRepository,
     IBCryptPasswordHasher bcrypt,
     INotificador notificador,
     IEmailService emailService
 ) : base(notificador)
 {
     _usuarioRepository = usuarioRepository;
     _bcrypt            = bcrypt;
     _emailService      = emailService;
 }
 public ClienteService
 (
     INotificador notificador,
     IClienteRepository clienteRepository,
     IBCryptPasswordHasher passwordHash,
     IPlanoRepository planoRepository,
     IMediatorHandler mediatorHandler
 ) : base(notificador)
 {
     _clienteRepository = clienteRepository;
     _passwordHash      = passwordHash;
     _planoRepository   = planoRepository;
     _mediator          = mediatorHandler;
 }