public MainView() { InitializeComponent(); _personDao = new PersonDao(); _movieDao = new MovieDao(); _authorization = new Authorization(); _genresDao = new GenresDao(); _countriesDao = new CountriesDao(); }
public AddMovieView() { InitializeComponent(); _castDao = new CastDao(); _personDao = new PersonDao(); _genresDao = new GenresDao(); _countriesDao = new CountriesDao(); _crewDao = new CrewDao(); _movieDao = new MovieDao(); }
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(); }