Beispiel #1
0
        public async Task <JsonResult> HandOverCards()
        {
            List <PlayerViewModel> playersModel = await _gameLogic.HandOverCards();

            //return View(playersModel);
            return(Json(playersModel, JsonRequestBehavior.AllowGet));
        }
        public async Task <ActionResult> HandOverCards()
        {
            List <GamePlayerViewModel> playersModel = await _gameLogic.HandOverCards();

            return(View(playersModel));
        }