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