public MovieCommentsController(
     IMovieCommentsService commentsService,
     UserManager <CinemaWorldUser> userManager)
 {
     this.movieCommentsService = commentsService;
     this.userManager          = userManager;
 }
        public MovieCommentsServiceTests()
        {
            this.InitializeMapper();
            this.InitializeDatabaseAndRepositories();
            this.InitializeFields();

            this.movieCommentsService = new MovieCommentsService(this.movieCommentsRepository);
        }
Exemple #3
0
 public MoviesController(IMoviesService movies, IMovieCommentsService comments)
 {
     this.movies = movies;
     this.comments = comments;
 }
Exemple #4
0
 public MoviesController(IMoviesService movies, IMovieCommentsService comments)
 {
     this.movies   = movies;
     this.comments = comments;
 }