// GET: StockDetails
 public ActionResult Index()
 {
     StockDetails stockDetails = new StockDetails();
     var manager = new StockManager();
     stockDetails.Sites = manager.GetAllSites();
     stockDetails.Symbols = manager.GetSymbols();
     return View(stockDetails);
 }
Пример #2
0
 public void GetAllSites()
 {
     var manager = new StockManager();
     var sites = manager.GetAllSites();
     Assert.IsTrue(sites.Count > 0);
 }