Ejemplo n.º 1
0
 public AddReview(ReviewsDao reviewsDao, int movieId, MovieView parent)
 {
     _reviewsDao = reviewsDao;
     _movieId    = movieId;
     _parent     = parent;
     InitializeComponent();
 }
Ejemplo n.º 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();
 }
Ejemplo n.º 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();
 }