public static CryptoInfoViewModel LoadCryptoInfoViewModel(ICryptoInfoService cryptoInfoService, ICryptoCurrencyService cryptoCurrencyService) { if (cryptoInfoViewModel == null) { cryptoInfoViewModel = new CryptoInfoViewModel(cryptoInfoService, cryptoCurrencyService); } return(cryptoInfoViewModel); }
public HomeViewModel(CryptoInfoViewModel cryptoInfoViewModel) { CryptoInfoViewModel = cryptoInfoViewModel; }