Esempio n. 1
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;
 }
Esempio n. 2
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);
 }