public ActionResult NewScrape() { if (ModelState.IsValid) { var scraper = new Scraper(); scraper.Start(); scraper.AddStockToDatabase(); } return(Redirect("Index")); }
public ActionResult NewScrape() { if (ModelState.IsValid) { var scraper = new Scraper(); scraper.Start(); scraper.AddStockToDatabase(); } return(Redirect("Index")); }