public FuncionarioController(NotificationContext notificationContext, IFuncionarioService iFuncionarioService, IEmpresaService iEmpresaService, ICpfValidator cpfValidator, IEmailValidator emailValidator) { _notificationContext = notificationContext; _iFuncionarioService = iFuncionarioService; _iEmpresaService = iEmpresaService; _iCpfValidator = cpfValidator; _emailValidator = emailValidator; }
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; }