Пример #1
0
 public GenresController()
 {
     this.genreService = new GenreService();
 }
Пример #2
0
 public MoviesController()
 {
     var context = new MoviesContext();
     this.movieService = new MovieService(context);
     this.genreService = new GenreService(context);
 }