Exemple #1
0
 public ManagerController()
 {
     this.db = new DreamLeagueContext();
     this.gameWeekSerializer = new XMLGameWeekSerializer <GameWeekSummary>();
     this.statisticsService  = new StatisticsService(db);
     this.emailService       = new Services.EmailService(db);
 }
Exemple #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);
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #7
0
 public DataController(IDreamLeagueContext db, IGameWeekSerializer <GameWeekSummary> gameWeekSerializer, IGameWeekService gameWeekService)
 {
     this.db = db;
     this.gameWeekSerializer = gameWeekSerializer;
     this.gameWeekService    = gameWeekService;
 }
Exemple #8
0
 public DataController()
 {
     this.db = new DreamLeagueContext();
     this.gameWeekSerializer = new XMLGameWeekSerializer <GameWeekSummary>();
     this.gameWeekService    = new GameWeekService(db);
 }
Exemple #9
0
 public ResultController(IDreamLeagueContext db, IGameWeekSerializer <GameWeekSummary> gameWeekSerializer, IGameWeekSerializer <CupWeekSummary> cupWeekSerializer)
 {
     this.db = db;
     this.gameWeekSerializer = gameWeekSerializer;
     this.cupWeekSerializer  = cupWeekSerializer;
 }
Exemple #10
0
 public ResultController()
 {
     this.db = new DreamLeagueContext();
     this.gameWeekSerializer = new XMLGameWeekSerializer <GameWeekSummary>();
     this.cupWeekSerializer  = new XMLGameWeekSerializer <CupWeekSummary>();
 }
Exemple #11
0
 public GameWeekSummaryService(IDreamLeagueContext db, IGameWeekSerializer <GameWeekSummary> gameWeekSerializer)
 {
     this.db = db;
     this.gameWeekSerializer = gameWeekSerializer;
 }
Exemple #12
0
 public HomeController(IDreamLeagueContext db, IGameWeekSerializer <GameWeekSummary> gameWeekSerializer, ISearchService searchService)
 {
     this.db = db;
     this.gameWeekSerializer = gameWeekSerializer;
     this.searchService      = searchService;
 }
 public CupService(IDreamLeagueContext db, IGameWeekSerializer <CupWeekSummary> cupWeekSerializer)
 {
     this.db = db;
     this.cupWeekSerializer = cupWeekSerializer;
 }