Beispiel #1
0
        public ActionResult Search(string phrase)
        {
            GameDao      gameDao = new GameDao();
            IList <Game> games   = gameDao.SearchGames(phrase);

            if (Request.IsAjaxRequest())
            {
                return(PartialView("IndexHrac", games));
            }



            return(View("IndexHrac", games));
        }