Example #1
0
        public JsonResult GetGameList()
        {
            try
            {
                var gameBusiness = new GameBusiness();
                var gameList     = gameBusiness.GetAllGameList();

                return(Json(gameList, JsonRequestBehavior.AllowGet));
            }
            catch (Exception ex)
            {
                return(Json(ex, "Beklenmedik Bir Hata Oluştu !"));
            }
        }