public async Task <ActionResult> PlayAgain(string yesOrNo)
        {
            List <GamePlayerViewModel> playersModel = await _gameLogic.PlayAgain(yesOrNo);

            return(Json(playersModel, JsonRequestBehavior.AllowGet));
        }
示例#2
0
        public async Task <ActionResult> PlayAgain(string yesOrNo)
        {
            List <PlayerViewModel> playersModel = await _gameLogic.PlayAgain(yesOrNo);

            return(View(playersModel));
        }