GetDaliSteMilili() public method

public GetDaliSteMilili ( string args ) : List
args string
return List
        public ActionResult Search(string args, int? strana)
        {
            CheckUser();
            Stopwatch st = new Stopwatch();
            st.Start();
            if (string.IsNullOrEmpty(args) || string.IsNullOrWhiteSpace(args))
            {
                return View();
            }
            if (args.Count() > 35)
            {
                TempData["err"] = "Maximalan upit do 35 karaktera";
                return View();
            }
            if (!strana.HasValue)
                strana = 1;
            args = Formatiraj(args);

            LuceneEngine.LuceneDbEngine ldbe = new LuceneEngine.LuceneDbEngine();

            List<Rezultat> ids = ldbe.GetArticleIDByArg(args, false);

            string idsParams = GetIds(ids);
            string scores = GetScore(ids);
            List<DB.DalHelpClass.ArticleSerch.ArticleSerchModel> listaNadjenih;
            using (DBBL Baza = new DBBL())
            {
                listaNadjenih = Baza.PretragaWiki(idsParams, scores, strana.Value);

                st.Stop();
                if (listaNadjenih.Count > 0)
                {
                    TempData["stat"] = st.ElapsedMilliseconds / (double)1000;
                    TempData["lp"] = listaNadjenih;
                    TempData["args"] = args;
                }
                else
                {
                    List<Igman.DB.DAL.Tag> mislilac = Baza.GetDaliSteMilili(args);
                    TempData["mislilac"] = mislilac;

                }
            }
            return View();
        }
        public ActionResult Search(string args, int page = 1)
        {
            CheckUser();
            Stopwatch st = new Stopwatch();
            st.Start();
            if (string.IsNullOrEmpty(args) || string.IsNullOrWhiteSpace(args))
            {
                return View();
            }
            if (args.Count() > 35)
            {
                TempData["err"] = "Maximalan upit do 35 karaktera";
                return View();
            }
            args = Formatiraj(args);

            #region Lucine
            //if (!strana.HasValue)
            //    strana = 1;
            //args = Formatiraj(args);
            //LuceneEngine.LuceneDbEngine ldbe = new LuceneEngine.LuceneDbEngine();
            //List<Rezultat> ids = ldbe.GetArticleIDByArg(args, false);
            //string idsParams = GetIds(ids);
            //string scores = GetScore(ids);
            //List<DB.DalHelpClass.ArticleSerch.ArticleSerchModel> listaNadjenih;
            #endregion
            using (DBBL Baza = new DBBL())
            {
                var listaNadjenih = Baza.GetPitanja(args);

                st.Stop();
                var br_rez = listaNadjenih.Count();
                if (br_rez > 0)
                {
                    TempData["stat"] = st.ElapsedMilliseconds / (double)1000;
                    TempData["lp"] = listaNadjenih;
                    TempData["args"] = args;
                    TempData["br_rez"] = br_rez;

                }

                else
                {
                    List<Igman.DB.DAL.Tag> mislilac = Baza.GetDaliSteMilili(args);
                    TempData["args"] = args;
                    TempData["mislilac"] = mislilac;

                }

                if (Request.IsAjaxRequest())
                {

                    return PartialView("_QAPretraga", listaNadjenih.ToPagedList(page, 5));
                }
                return View(listaNadjenih.ToPagedList(page, 5));
            }
        }