コード例 #1
0
        public ActionResult Istorija(string naziv)
        {
            string s = "Ne postoji dati naziv";

            try
            {
                s = blobHelper.DownloadStringFromBlob(naziv);
            }
            catch { }
            ViewBag.Stanja = s;
            return(View());
        }
コード例 #2
0
 public ActionResult AddToQueue(string stanje)
 {
     queueHelper.AddToQueue(stanje);
     Thread.Sleep(1000);
     ViewBag.Stanje = blobHelper.DownloadStringFromBlob("stanje");
     return(View("Index"));
 }
コード例 #3
0
        public ActionResult Simulacija(string recenica)
        {
            queueHelper.AddToQueue(recenica);
            //Thread.Sleep(3000);


            List <string> recenice = blobHelper.DownloadStringFromBlob("recenice").Split(':').ToList();



            return(View(recenice));
        }