public static CurrencyList GetCurrencyList() { if (currencyList != null && currencyList.Date.Date == DateTime.Today) { return(currencyList); } return(currencyList = FetchCurrencyList()); }
public static CurrencyList GetCurrencyList() { if (currencyList != null && currencyList.Date.Date == DateTime.Today) return currencyList; return currencyList = FetchCurrencyList(); }