public LeagueWinnersController(ILeagueWinnerService leagueWinnerService, ILeagueService leagueService, ITeamService teamService) { Check.Require(leagueWinnerService != null, "leagueWinnerService may not be null"); Check.Require(leagueService != null, "leagueService may not be null"); Check.Require(teamService != null, "teamService may not be null"); this.leagueWinnerService = leagueWinnerService; this.leagueService = leagueService; this.teamService = teamService; }
public LeagueWinnerController(ILeagueWinnerService leagueWinnerService) { Check.Require(leagueWinnerService != null, "leagueWinnerService may not be null"); this.leagueWinnerService = leagueWinnerService; }