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 MovieService(IMovieDal movieDal) { if (movieDal == null) { throw new ArgumentNullException(nameof(movieDal)); } _dal = movieDal; }
public MovieManager(IMovieDal movieDal) { this.movieDal = movieDal; }
public MovieManager(IMovieDal movieDal) { _movieDal = movieDal; }
public GetMovieOnApiService(IMovieDal movieDal) { _movieDal = movieDal; restClient = new HttpClient(); }
public MoviePresenter(IMovieDal mediaDal) { this._movieDal = mediaDal; }
public MovieManager(IMovieDal movieDal, ICacheManager cacheManager) { _movieDal = movieDal; _cacheManager = cacheManager; }
public MovieService(IMovieDal movieDal) { this.movieDal = movieDal; }