public async Task <IActionResult> DetailsLeague(int id) { var model = await _leagueRepo.GetByIdWithChildrens(id); return(View(model)); }