Ejemplo n.º 1
0
 public TeamSheetController(IDreamLeagueContext db, ITeamSheetService teamSheetService, ITeamSheetUpdater teamSheetUpdater)
 {
     this.db = db;
     this.teamSheetService = teamSheetService;
     this.teamSheetUpdater = teamSheetUpdater;
 }
Ejemplo n.º 2
0
 public TeamSheetController()
 {
     this.db = new DreamLeagueContext();
     this.teamSheetService = new TeamSheetService(new XLSXTeamSheetReader());
     this.teamSheetUpdater = new TeamSheetUpdater(db);
 }