public CastRepository(IMovieRepository movieRepository) { collection = MongoDbConnectionFactory.GetCollection <CastMemberDataModel>("cast_members"); this.movieRepository = movieRepository; }
public StudiosRepository() { collection = MongoDbConnectionFactory.GetCollection <StudioDataModel>("studios"); }
public CountriesRepository() { collection = MongoDbConnectionFactory.GetCollection <CountryDataModel>("countries"); }
public LanguagesRepository() { collection = MongoDbConnectionFactory.GetCollection <LanguageDataModel>("languages"); }
public MoviesRepository() { collection = MongoDbConnectionFactory.GetCollection <MovieDataModel>("movies"); }