// GET: StockDetails public ActionResult Index() { StockDetails stockDetails = new StockDetails(); var manager = new StockManager(); stockDetails.Sites = manager.GetAllSites(); stockDetails.Symbols = manager.GetSymbols(); return View(stockDetails); }
public void GetSymbols() { var manager = new StockManager(); var symbols = manager.GetSymbols(); Assert.IsTrue(symbols.Count > 0); }