private LoginCliente _LoginCliente;//injetando login Cliente public HomeController(IClienteRepository repo, INewsLatterRepository reposNewsLatter, LoginCliente loginCliente) { _repoCliente = repo; _repoNewsLatter = reposNewsLatter; _LoginCliente = loginCliente; }
public HomeController(IClientRepository clientRepository, INewsLatterRepository newslatterRepository, Auth auth) { _clientRepository = clientRepository; _newslatterRepository = newslatterRepository; _auth = auth; }