public ClienteService(IClienteRepository clienteRepository, IClienteValidator clienteValidator) : base(clienteRepository, clienteValidator) { _clienteRepository = clienteRepository; _clienteValidator = clienteValidator; _clienteValidator.SetService(this); }
public ClienteService(IClienteRepository clienteRepository, IClienteValidator validator, IEmailService emailService, IClienteAdapter adapter) { _clienteRepository = clienteRepository; _validator = validator; _emailService = emailService; _adapter = adapter; }
public ClienteAppService(IClienteService clienteService, IClienteValidator clienteValidator) : base(clienteService, clienteValidator) { _clienteService = clienteService; _clienteValidator = clienteValidator; }
public ClienteRepository(IVendasContext vendasContext, IClienteValidator clienteValidator) { _vendasContext = vendasContext; _clienteValidator = clienteValidator; }