public ActionResult QuoteHistoryForPlayers() { StockEngine engine = new YahooStockEngine(); DateTime lastWeek = DateTime.Today.AddDays(-7); IEnumerable <QuoteViewModel> model = engine.AllQuotesForPlayersAfter(lastWeek) .OrderByDescending(x => x.CreateDate) .OrderBy(x => x.Symbol) .Select(x => new QuoteViewModel(x)); return(View(model)); }