public ActionResult Search(string nazev) { int celkem; GameDao hraDao = new GameDao(); IList <Hra> ucty = hraDao.SearchName3(nazev); celkem = ucty.Count; ViewBag.celkem = celkem; return(PartialView("HraAjax", ucty)); }