public MovieRepository GetMovieRepository() { if (movieRepo == null) { movieRepo = new MovieRepository(); } return movieRepo; }
/*public Facade(MovieShopContext context = null) { ctx = context != null ? context : new MovieShopContextDev(); } */ public MovieRepository GetMovieRepository() { return movieRepo = new MovieRepository(ctx); }