Beispiel #1
0
        public JsonResult GetAllGames()
        {
            var gamesList = games.GetGames().ToList();

            //var result = SerializeContent(gamesList);
            return(Json(gamesList, JsonRequestBehavior.AllowGet));
        }