Esempio n. 1
0
 public FuncionarioController(NotificationContext notificationContext,
                              IFuncionarioService iFuncionarioService,
                              IEmpresaService iEmpresaService,
                              ICpfValidator cpfValidator,
                              IEmailValidator emailValidator)
 {
     _notificationContext = notificationContext;
     _iFuncionarioService = iFuncionarioService;
     _iEmpresaService     = iEmpresaService;
     _iCpfValidator       = cpfValidator;
     _emailValidator      = emailValidator;
 }
Esempio n. 2
0
        public UsuarioController(
            IUsuarioService iUsuarioService,
            NotificationContext notificationContext,
            ICpfValidator cpfValidator,
            IEmailValidator emailValidator,
            IEmailSender emailSender
            )
        {
            _iUsuarioService     = iUsuarioService;
            _notificationContext = notificationContext;

            _iCpfValidator  = cpfValidator;
            _emailValidator = emailValidator;
            _emailSender    = emailSender;
        }
 public QueryValidateCpfHandler(ICpfValidator cpfValidator)
 {
     _cpfValidator = cpfValidator;
 }