コード例 #1
0
 public ManagerController()
 {
     this.db = new DreamLeagueContext();
     this.gameWeekSerializer = new XMLGameWeekSerializer <GameWeekSummary>();
     this.statisticsService  = new StatisticsService(db);
     this.emailService       = new Services.EmailService(db);
 }
コード例 #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;
 }
コード例 #3
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);
 }
コード例 #4
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());
 }
コード例 #5
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;
 }
コード例 #6
0
 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);
 }
コード例 #7
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;
 }
コード例 #8
0
 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;
 }
コード例 #9
0
 public StatisticsController()
 {
     this.db = new DreamLeagueContext();
     this.statisticsService = new StatisticsService(db);
 }
コード例 #10
0
 public StatisticsService(IDreamLeagueContext db)
 {
     this.db = db;
 }
コード例 #11
0
 public GameWeekController(IDreamLeagueContext db)
 {
     this.db = db;
 }
コード例 #12
0
 public GameWeekController()
 {
     this.db = new DreamLeagueContext();
 }
コード例 #13
0
 public CupController()
 {
     this.db         = new DreamLeagueContext();
     this.cupService = new CupService(db, new XMLGameWeekSerializer <CupWeekSummary>());
 }
コード例 #14
0
 public DataController(IDreamLeagueContext db, IGameWeekSerializer <GameWeekSummary> gameWeekSerializer, IGameWeekService gameWeekService)
 {
     this.db = db;
     this.gameWeekSerializer = gameWeekSerializer;
     this.gameWeekService    = gameWeekService;
 }
コード例 #15
0
 public GameWeekSummaryService(IDreamLeagueContext db, IGameWeekSerializer <GameWeekSummary> gameWeekSerializer)
 {
     this.db = db;
     this.gameWeekSerializer = gameWeekSerializer;
 }
コード例 #16
0
 public TeamSheetController()
 {
     this.db = new DreamLeagueContext();
     this.teamSheetService = new TeamSheetService(new XLSXTeamSheetReader());
     this.teamSheetUpdater = new TeamSheetUpdater(db);
 }
コード例 #17
0
 public TeamSheetController(IDreamLeagueContext db, ITeamSheetService teamSheetService, ITeamSheetUpdater teamSheetUpdater)
 {
     this.db = db;
     this.teamSheetService = teamSheetService;
     this.teamSheetUpdater = teamSheetUpdater;
 }
コード例 #18
0
 public MeetingController(IDreamLeagueContext db, IMeetingService meetingService)
 {
     this.db             = db;
     this.meetingService = meetingService;
 }
コード例 #19
0
 public MeetingController()
 {
     this.db             = new DreamLeagueContext();
     this.meetingService = new MeetingService(db);
 }
コード例 #20
0
 public CupController(IDreamLeagueContext db, ICupService cupService)
 {
     this.db         = db;
     this.cupService = cupService;
 }
コード例 #21
0
 public StatisticsController(IDreamLeagueContext db, IStatisticsService statisticsService)
 {
     this.db = db;
     this.statisticsService = statisticsService;
 }
コード例 #22
0
 public CupService(IDreamLeagueContext db, IGameWeekSerializer <CupWeekSummary> cupWeekSerializer)
 {
     this.db = db;
     this.cupWeekSerializer = cupWeekSerializer;
 }
コード例 #23
0
 public DataController()
 {
     this.db = new DreamLeagueContext();
     this.gameWeekSerializer = new XMLGameWeekSerializer <GameWeekSummary>();
     this.gameWeekService    = new GameWeekService(db);
 }
コード例 #24
0
 public ManagerImageController(IDreamLeagueContext db)
 {
     this.db = db;
 }
コード例 #25
0
 public ResultsService(IDreamLeagueContext db)
 {
     this.db = db;
 }
コード例 #26
0
 public HomeController(IDreamLeagueContext db, IGameWeekSerializer <GameWeekSummary> gameWeekSerializer, ISearchService searchService)
 {
     this.db = db;
     this.gameWeekSerializer = gameWeekSerializer;
     this.searchService      = searchService;
 }
コード例 #27
0
 public ResultController()
 {
     this.db = new DreamLeagueContext();
     this.gameWeekSerializer = new XMLGameWeekSerializer <GameWeekSummary>();
     this.cupWeekSerializer  = new XMLGameWeekSerializer <CupWeekSummary>();
 }
コード例 #28
0
 public ManagerImageController()
 {
     this.db = new DreamLeagueContext();
 }
コード例 #29
0
 public EmailService(IDreamLeagueContext db)
 {
     this.db = db;
 }
コード例 #30
0
 public ResultController(IDreamLeagueContext db, IGameWeekSerializer <GameWeekSummary> gameWeekSerializer, IGameWeekSerializer <CupWeekSummary> cupWeekSerializer)
 {
     this.db = db;
     this.gameWeekSerializer = gameWeekSerializer;
     this.cupWeekSerializer  = cupWeekSerializer;
 }