예제 #1
0
 public AddReview(ReviewsDao reviewsDao, int movieId, MovieView parent)
 {
     _reviewsDao = reviewsDao;
     _movieId    = movieId;
     _parent     = parent;
     InitializeComponent();
 }
예제 #2
0
 public MovieView(int movieId)
 {
     _countriesDao = new CountriesDao();
     _genresDao    = new GenresDao();
     _movie        = new MovieDao().GetMovieById(movieId);
     _castDao      = new CastDao();
     _crewDao      = new CrewDao();
     _reviewsDao   = new ReviewsDao();
     _personDao    = new PersonDao();
     InitializeComponent();
 }
예제 #3
0
 public DataRetriever()
 {
     _castDao       = new CastDao();
     _genresDao     = new GenresDao();
     _countriesDao  = new CountriesDao();
     _httpRetriever = new HttpRetriever();
     _movieDao      = new MovieDao();
     _crewDao       = new CrewDao();
     _personDao     = new PersonDao();
     _authorization = new Authorization();
     _reviewsDao    = new ReviewsDao();
 }