//
 // GET: /Home/Regret
 public ActionResult Regret()
 {
     Datacollector d = new Datacollector();
     ArticleData data = d.RegretData();
     return View("Datacollect", data);
 }
 //
 // GET: /Home/Datareceiver
 public string Datareceiver(int id, int type)
 {
     Datacollector d = new Datacollector();
     d.AddData(id, type);
     return "Added as type: " + Datacollector.TYPES[type];
 }
 //
 // GET: /Home/FinalResult
 public string FinalResult()
 {
     Datacollector d = new Datacollector();
     return d.PrintData();
 }
 //
 // GET: /Home/Datacollection
 public ActionResult Datacollect(string url = "")
 {
     Datacollector d = new Datacollector();
     ArticleData toAnalyze = d.Begin(url);
     return View(toAnalyze);
 }