public MovieFileImporter(string filePath, IMovieBaseService movieBaseService) { if (!File.Exists(filePath)) { throw new MovieReaderException(filePath + " does not exist"); } _filePath = filePath; _movieBaseService = movieBaseService; _importedMovies = new Dictionary<string, ImportedMovie>(); _duplicateTitles = new List<string>(); }
public MovieBaseController(IMovieBaseService movieBaseService, IMovieBaseView view) { _view = view; _view.Search += Search; _movieBaseService = movieBaseService; }