// GET: AdminStockQuotes public ActionResult Index(int stockid = 0) { ViewBag.stock_id = new SelectList(db.GetStocks().Where(s => s.active && s.market_id != 1).OrderBy(s => s.symbol), "Id", "symbol_market"); ViewBag.SyncMarketInfo = QuotesService.GetMarketsSyncTimeInfo(); return(View(db.GetStockQuotes(stockid).OrderByDescending(s => s.date_round))); }