public IActionResult Index(Game game) { _gameCreator.SetGame(game); _gameCreator.NewGame(); return(RedirectToAction("Index", "Game")); }
public RedirectToActionResult NewGame() { _gameCreator.NewGame(); return(RedirectToAction("Index")); }
public IActionResult Index(Game game) { _gameCreator.SetGame(game); _gameCreator.NewGame(); return(RedirectToAction("Index", "Game")); }
public RedirectToActionResult NewGame() { _gameCreator.NewGame(); return(RedirectToAction("Index")); }