コード例 #1
0
 //[OutputCache(Duration=3600)]
 public ActionResult ShowForecast()
 {
     XMLMethods xml = new XMLMethods();
     Dictionary<string, string> forecast = xml.GetForecastYahoo();
     return PartialView("_Forecast", forecast);
 }
コード例 #2
0
 public ActionResult ShowCurrency()
 {
     XMLMethods xml = new XMLMethods();
     Dictionary<string, string> currency = xml.GetCurrencies();
     return PartialView("_Currency", currency);
 }