public AsyncTennisFacadeClientService(IAsyncTennisFixtureService tennisFixtureService, IAsyncTennisPredictionService tennisPredictionService, IAsyncTennisOddsService tennisOddsService) { if (tennisFixtureService == null) throw new ArgumentNullException("tennisFixtureService"); if (tennisPredictionService == null) throw new ArgumentNullException("tennisPredictionService"); if (tennisOddsService == null) throw new ArgumentNullException("tennisOddsService"); this.tennisFixtureService = tennisFixtureService; this.tennisPredictionService = tennisPredictionService; this.tennisOddsService = tennisOddsService; }
public AsyncTennisFacadeAdminService(IAsyncTennisFixtureService tennisFixtureService, IAsyncTennisPredictionService tennisPredictionService, IAsyncTennisOddsService tennisOddsService) { if (tennisFixtureService == null) { throw new ArgumentNullException("tennisFixtureService"); } if (tennisPredictionService == null) { throw new ArgumentNullException("tennisPredictionService"); } if (tennisOddsService == null) { throw new ArgumentNullException("tennisOddsService"); } this.tennisFixtureService = tennisFixtureService; this.tennisPredictionService = tennisPredictionService; this.tennisOddsService = tennisOddsService; }