示例#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);
 }