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); }
public MoviesController(IMoviesService movies, IMovieCommentsService comments) { this.movies = movies; this.comments = comments; }