public void Setup() { _movieDal = new MovieDal(); _gameDal = new GameDal(); _movie = new Movie("TestRulle1", 15, MediaFormat.BlueRay, new DateTime(2001,01,01)); _game = new Game("Halo", 15, MediaFormat.Dvd, GameSystemEnum.Xbox, new DateTime(2001, 01, 01)); }
public BasePresenter(IView theView, IGameDal gameDAL, IMovieDal movieDAL) { _theView = theView; _gameDAL = gameDAL; _movieDAL = movieDAL; _theView.SearchMovie+=_onView_SearchMovie; }
public GameManager(IGameDal gameDal) { _gameDal = gameDal; }
public GameManager(IGameDal gameDal, ILoggerService loggerService) { _gameDal = gameDal; _loggerService = loggerService; }
public GameLogic(IGameDal gameDal) { _gameDal = gameDal; }
public GameManager(IGameDal gameDal, IPromotionService promotionService) { _gameDal = gameDal; _promotionService = promotionService; }