public HomeController(ILogger <HomeController> logger, IObtenirPrixCrypto obtenirPrixCrypto, ICryptoCurrencyModelFactory cryptoCurrencyModelFactory) { _logger = logger; _obtenirPrixCrypto = obtenirPrixCrypto; _cryptoCurrencyModelFactory = cryptoCurrencyModelFactory; }
public CryptoCurrencyController(ICryptoCurrencyModelFactory cryptoCurrencyModelFactory, ICryptocurrencyRepository cryptocurrencyRepository) { _cryptoCurrencyModelFactory = cryptoCurrencyModelFactory; _cryptocurrencyRepository = cryptocurrencyRepository; }