public async Task <IActionResult> CreateLeague(LeagueModel model) { var result = await _administratorService.CreateLeague(model, _context); if (result == 1) { return(View("PlayersError")); } return(RedirectToAction("Index")); }