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