public ListMoviesCommandHandler(IMediator mediatorService, ILightContext contextService, ILightTelemetry telemetryService, IMapper mapperService, IMovieServiceClient movieService) : base(mediatorService, contextService, telemetryService, mapperService) { _movieService = movieService; }
public GetMovieCommandHandler(IMediator mediatorService, ILightContext contextService, ILightTelemetry telemetryService, IMapper mapperService, IMovieServiceClient movieService, ILightCache cache, IOptions <CacheConfig> cacheConfig, ILightProducer <MovieAudience> lightProducer) : base(mediatorService, contextService, telemetryService, mapperService) { _movieService = movieService; _cache = cache; _cacheConfig = cacheConfig.Value; _lightProducer = lightProducer; }