public DataBaseMediator() { platformsSQLDAO = new PlatformsSQLDAO(ConnectionString); coverSQLDAO = new CoversSQLDAO(ConnectionString); franchiseSQLDAO = new FranchisesSQLDAO(ConnectionString); gameInfoSQLDAO = new GameInfoSQLDAO(ConnectionString); gameRatingSQLDAO = new GameRatingSQLDAO(ConnectionString); genresSQLDAO = new GenresSQLDAO(ConnectionString); userGameInfoSQLDAO = new UserGameInfoSQLDAO(ConnectionString); userLoginSQLDAO = new UserLoginSqlDao(ConnectionString, hash); genresIGDBDAO = new GenresIGDBDAO(UserApiKey); platformsInfoIGDBDAO = new PlatformsIGDBDAO(UserApiKey); gameInfoIGDBDAO = new GameInfoIGDBDAO(UserApiKey, ConnectionString); coversIGDBDAO = new CoversIGDBDAO(UserApiKey); franchisesIGDBDAO = new FranchisesIGDBDAO(UserApiKey); }
public void Setup() { dao = new GenresIGDBDAO("07b6d5257e21d7bbaa02fb68a9a13899"); }