Example #1
0
        public async Task <IActionResult> Index()
        {
            var championship = await _championships.GetActiveChampionship();

            if (championship == null)
            {
                return(RedirectToAction("Index", "Championship"));
            }
            else
            {
                return(await Index(championship.ChampionshipId));
            }
        }