Example #1
0
 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);
 }
Example #2
0
 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;
 }
Example #4
0
 public PredictController(
     IGameWeekService gameWeekService,
     IPredictionService predictionService,
     ILeagueService leagueService)
 {
     this.gameWeekService   = gameWeekService;
     this.predictionService = predictionService;
     this.leagueService     = leagueService;
 }
Example #5
0
 public PredictionService(
     IUserService userService,
     IGameWeekService gameWeekService,
     IFixtureService fixtureService,
     PredictionContext context)
 {
     this.userService     = userService;
     this.gameWeekService = gameWeekService;
     this.fixtureService  = fixtureService;
     this.context         = context;
 }
Example #6
0
 public DataController(IDreamLeagueContext db, IGameWeekSerializer <GameWeekSummary> gameWeekSerializer, IGameWeekService gameWeekService)
 {
     this.db = db;
     this.gameWeekSerializer = gameWeekSerializer;
     this.gameWeekService    = gameWeekService;
 }
Example #7
0
 public DataController()
 {
     this.db = new DreamLeagueContext();
     this.gameWeekSerializer = new XMLGameWeekSerializer <GameWeekSummary>();
     this.gameWeekService    = new GameWeekService(db);
 }