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