public ActionResult Istorija(string naziv) { string s = "Ne postoji dati naziv"; try { s = blobHelper.DownloadStringFromBlob(naziv); } catch { } ViewBag.Stanja = s; return(View()); }
public ActionResult AddToQueue(string stanje) { queueHelper.AddToQueue(stanje); Thread.Sleep(1000); ViewBag.Stanje = blobHelper.DownloadStringFromBlob("stanje"); return(View("Index")); }
public ActionResult Simulacija(string recenica) { queueHelper.AddToQueue(recenica); //Thread.Sleep(3000); List <string> recenice = blobHelper.DownloadStringFromBlob("recenice").Split(':').ToList(); return(View(recenice)); }