public ConcedeController() { this.db = new DreamLeagueContext(); this.gameWeekSummaryService = new GameWeekSummaryService(db, new XMLGameWeekSerializer <GameWeekSummary>()); this.cupWeekSummaryService = new CupWeekSummaryService(db, new XMLGameWeekSerializer <CupWeekSummary>()); this.gameWeekService = new GameWeekService(db); this.auditService = new AuditService(db); }
public ConcedeController(IDreamLeagueContext db, IGameWeekSummaryService gameWeekSummaryService, IGameWeekSummaryService cupWeekSummaryService, IGameWeekService gameWeekService, IAuditService auditService) { this.db = db; this.gameWeekSummaryService = gameWeekSummaryService; this.cupWeekSummaryService = cupWeekSummaryService; this.gameWeekService = gameWeekService; this.auditService = auditService; }
public ProfileController(IUserService userService, IGameWeekService gameWeekService, IPredictionService predictionService) { this._userService = userService; this._gameWeekService = gameWeekService; this._predictionService = predictionService; }
public PredictController( IGameWeekService gameWeekService, IPredictionService predictionService, ILeagueService leagueService) { this.gameWeekService = gameWeekService; this.predictionService = predictionService; this.leagueService = leagueService; }
public PredictionService( IUserService userService, IGameWeekService gameWeekService, IFixtureService fixtureService, PredictionContext context) { this.userService = userService; this.gameWeekService = gameWeekService; this.fixtureService = fixtureService; this.context = context; }
public DataController(IDreamLeagueContext db, IGameWeekSerializer <GameWeekSummary> gameWeekSerializer, IGameWeekService gameWeekService) { this.db = db; this.gameWeekSerializer = gameWeekSerializer; this.gameWeekService = gameWeekService; }
public DataController() { this.db = new DreamLeagueContext(); this.gameWeekSerializer = new XMLGameWeekSerializer <GameWeekSummary>(); this.gameWeekService = new GameWeekService(db); }