public MoviesToGetController(IMoviesToGetService moviesToGetService, IMovieUniquenessChecker movieUniquenessChecker, IMovieInfoService movieInfoService, IOptions <AppSettings> options) : base(options) { this.moviesToGetService = moviesToGetService ?? throw new ArgumentNullException(nameof(moviesToGetService)); this.movieUniquenessChecker = movieUniquenessChecker ?? throw new ArgumentNullException(nameof(movieUniquenessChecker)); this.movieInfoService = movieInfoService ?? throw new ArgumentNullException(nameof(movieInfoService)); }
public MovieMasterController(IMovieInfoService MovieService, IConfiguration configuration, IListResponseHandler <Movie> ListResponse, IObjectResponseHandler <Movie> ObjectResponse, IResourceService messageService, IHostingEnvironment hostingEnvironment) { _MovieService = IMovieInfoService; _configuration = configuration; _ObjectResponse = ObjectResponse; _ListResponse = ListResponse; _messageService = messageService; _hostingEnvironment = hostingEnvironment; }