示例#1
0
 public IActionResult Index(Game game)
 {
     _gameCreator.SetGame(game);
     _gameCreator.NewGame();
     return(RedirectToAction("Index", "Game"));
 }
示例#2
0
 public RedirectToActionResult NewGame()
 {
     _gameCreator.NewGame();
     return(RedirectToAction("Index"));
 }