public DeleteClienteByIdCommandHandler(IClienteRepositoryAsync clienteRepository, IClienteEnderecoRepositoryAsync clienteEnderecoRepository, IEnderecoRepositoryAsync EnderecoRepository) { _clienteRepository = clienteRepository; _clienteEnderecoRepository = clienteEnderecoRepository; _EnderecoRepository = EnderecoRepository; }
public ClienteService(IClienteRepositoryAsync iclienterepo, IClienteEnderecoRepositoryAsync clienteEnderecoRepositoryAsync, IEnderecoRepositoryAsync enderecoService) { _clienterepository = iclienterepo; _clientEenderecoRepositoryAsync = clienteEnderecoRepositoryAsync; _enderecoRepository = enderecoService; _dbContext = new ApplicationDbContext(); }
public ClienteService(IClienteRepositoryAsync clienteRepository, IClienteEnderecoRepositoryAsync clienteEnderecoRepositoryAsync, IEnderecoRepositoryAsync enderecoRepository, ILogger <ClienteService> logger, ApplicationDbContext dbContext, IEnderecoService enderecoService) { _clienterepository = clienteRepository; _clientEenderecoRepositoryAsync = clienteEnderecoRepositoryAsync; _enderecoRepository = enderecoRepository; _logger = logger; _dbContext = dbContext; _enderecoService = enderecoService; }
public RetornarClientePorIdHandler(IClienteRepositoryAsync clienteRepository) { _ClienteRepository = clienteRepository; }