public FilmProductionService(IOptions <AppSettings> appSettings, IReviewFilmProductionRepository reviewRepository, IHostingEnvironment hostingEnvironment, IFilmProductionRepository filmProductionRepository) { _postersPath = appSettings.Value.PostersPath; _reviewRepository = reviewRepository; _hostingEnvironment = hostingEnvironment; _filmProductionRepository = filmProductionRepository; }
public ReviewFilmProductionService(IReviewFilmProductionRepository reviewRepository, IUserFilmProductionsRepository userFilmProductionsRepository, IFilmProductionRepository filmProductionRepository) { _reviewFilmProductionRepository = reviewRepository; _userFilmProductionsRepository = userFilmProductionsRepository; _filmProductionRepository = filmProductionRepository; }