public ActionResult SearchVydavatel(int id) { int celkem; GameDao hraDao = new GameDao(); IList <Hra> ucty = hraDao.GetByVydavatel2(id, out celkem, false); celkem = ucty.Count; ViewBag.celkem = celkem; return(View("Hra", ucty)); }