public MovieController(IMovieRatingService ratingService, IMovieImageService imageService, ILogger logger, TelemetryClient telemetry) { this.ratingService = ratingService; this.imageService = imageService; _logger = logger; telemetryClient = telemetry; }
public MovieService(IMovieRepository _movieRepository, IWebHostEnvironment _Environment, IMapper map, IMovieUserRepository movieUserService, IAppUserRepository appUserService, IMovieImageService movieImageService, ICategoryService categoryService) { _categoryService = categoryService; _appUserService = appUserService; _movieUserRepository = movieUserService; Environment = _Environment; _map = map; movieRepository = _movieRepository; _movieImageService = movieImageService; }