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