public ManagerController() { this.db = new DreamLeagueContext(); this.gameWeekSerializer = new XMLGameWeekSerializer <GameWeekSummary>(); this.statisticsService = new StatisticsService(db); this.emailService = new Services.EmailService(db); }
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); }
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; }
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; }
public DataController(IDreamLeagueContext db, IGameWeekSerializer <GameWeekSummary> gameWeekSerializer, IGameWeekService gameWeekService) { this.db = db; this.gameWeekSerializer = gameWeekSerializer; this.gameWeekService = gameWeekService; }
public DataController() { this.db = new DreamLeagueContext(); this.gameWeekSerializer = new XMLGameWeekSerializer <GameWeekSummary>(); this.gameWeekService = new GameWeekService(db); }
public ResultController(IDreamLeagueContext db, IGameWeekSerializer <GameWeekSummary> gameWeekSerializer, IGameWeekSerializer <CupWeekSummary> cupWeekSerializer) { this.db = db; this.gameWeekSerializer = gameWeekSerializer; this.cupWeekSerializer = cupWeekSerializer; }
public ResultController() { this.db = new DreamLeagueContext(); this.gameWeekSerializer = new XMLGameWeekSerializer <GameWeekSummary>(); this.cupWeekSerializer = new XMLGameWeekSerializer <CupWeekSummary>(); }
public GameWeekSummaryService(IDreamLeagueContext db, IGameWeekSerializer <GameWeekSummary> gameWeekSerializer) { this.db = db; this.gameWeekSerializer = gameWeekSerializer; }
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; }