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;
        }
Example #2
0
        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;
 }
Example #4
0
 public LeagueWinnerController(ILeagueWinnerService leagueWinnerService)
 {
     Check.Require(leagueWinnerService != null, "leagueWinnerService may not be null");
     this.leagueWinnerService = leagueWinnerService;
 }