public IActionResult Create() { var viewModel = new GuideInputModel { Roles = this.championRolesService.GetAll(), AllChampions = this.championsService.GetAll <ChampionBasicViewModel>(), AllSummonerSpells = this.summonerSpellsService.GetAll <SummonerSpellViewModel>(), }; return(this.View(viewModel)); }
public IActionResult Create(GuideInputModel input) { return(this.RedirectToAction(nameof(this.All))); }