Esempio n. 1
0
 public ManagerController()
 {
     this.db = new DreamLeagueContext();
     this.gameWeekSerializer = new XMLGameWeekSerializer <GameWeekSummary>();
     this.statisticsService  = new StatisticsService(db);
     this.emailService       = new Services.EmailService(db);
 }
Esempio n. 2
0
 public ManagerController(IDreamLeagueContext db, IGameWeekSerializer <GameWeekSummary> gameWeekSerializer, IStatisticsService statisticsService, IEmailService emailService)
 {
     this.db = db;
     this.gameWeekSerializer = gameWeekSerializer;
     this.statisticsService  = statisticsService;
     this.emailService       = emailService;
 }
 public EmailController()
 {
     this.db = new DreamLeagueContext();
     this.gameWeekSerializer = new XMLGameWeekSerializer<GameWeekSummary>();
     this.cupWeekSerializer = new XMLGameWeekSerializer<CupWeekSummary>();
     this.emailService = new Services.EmailService(db);
     this.auditService = new AuditService(db);
 }
Esempio n. 4
0
 public NewSeasonController(IDreamLeagueContext db, IGameWeekSerializer <GameWeekSummary> gameWeekSerializer, IGameWeekSerializer <CupWeekSummary> cupWeekSerializer, IPlayerListService playerListService, ITeamSheetService teamSheetService)
 {
     this.db = db;
     this.gameWeekSerializer = gameWeekSerializer;
     this.cupWeekSerializer  = cupWeekSerializer;
     this.playerListService  = playerListService;
     this.teamSheetService   = teamSheetService;
 }
Esempio n. 5
0
 public NewSeasonController()
 {
     this.db = new DreamLeagueContext();
     this.gameWeekSerializer = new XMLGameWeekSerializer <GameWeekSummary>();
     this.cupWeekSerializer  = new XMLGameWeekSerializer <CupWeekSummary>();
     this.playerListService  = new PlayerListService(db, new XLSXPlayerListReader());
     this.teamSheetService   = new TeamSheetService(new XLSXTeamSheetReader());
 }
 public EmailController(IDreamLeagueContext db, IGameWeekSerializer<GameWeekSummary> gameWeekSerializer, IGameWeekSerializer<CupWeekSummary> cupWeekSerializer, IEmailService emailService,
     IAuditService auditService)
 {
     this.db = db;
     this.gameWeekSerializer = gameWeekSerializer;
     this.cupWeekSerializer = cupWeekSerializer;
     this.emailService = emailService;
     this.auditService = auditService;
 }
Esempio n. 7
0
 public DataController(IDreamLeagueContext db, IGameWeekSerializer <GameWeekSummary> gameWeekSerializer, IGameWeekService gameWeekService)
 {
     this.db = db;
     this.gameWeekSerializer = gameWeekSerializer;
     this.gameWeekService    = gameWeekService;
 }
Esempio n. 8
0
 public DataController()
 {
     this.db = new DreamLeagueContext();
     this.gameWeekSerializer = new XMLGameWeekSerializer <GameWeekSummary>();
     this.gameWeekService    = new GameWeekService(db);
 }
Esempio n. 9
0
 public ResultController(IDreamLeagueContext db, IGameWeekSerializer <GameWeekSummary> gameWeekSerializer, IGameWeekSerializer <CupWeekSummary> cupWeekSerializer)
 {
     this.db = db;
     this.gameWeekSerializer = gameWeekSerializer;
     this.cupWeekSerializer  = cupWeekSerializer;
 }
Esempio n. 10
0
 public ResultController()
 {
     this.db = new DreamLeagueContext();
     this.gameWeekSerializer = new XMLGameWeekSerializer <GameWeekSummary>();
     this.cupWeekSerializer  = new XMLGameWeekSerializer <CupWeekSummary>();
 }
Esempio n. 11
0
 public GameWeekSummaryService(IDreamLeagueContext db, IGameWeekSerializer <GameWeekSummary> gameWeekSerializer)
 {
     this.db = db;
     this.gameWeekSerializer = gameWeekSerializer;
 }
Esempio n. 12
0
 public HomeController(IDreamLeagueContext db, IGameWeekSerializer <GameWeekSummary> gameWeekSerializer, ISearchService searchService)
 {
     this.db = db;
     this.gameWeekSerializer = gameWeekSerializer;
     this.searchService      = searchService;
 }
Esempio n. 13
0
 public CupService(IDreamLeagueContext db, IGameWeekSerializer <CupWeekSummary> cupWeekSerializer)
 {
     this.db = db;
     this.cupWeekSerializer = cupWeekSerializer;
 }