public MovieService() { _httpClient = new HttpClient(new HttpClientDiagnosticsHandler(new HttpClientHandler())) { BaseAddress = new Uri(Configurations.ApiBaseUrl) }; _movieApi = RestService.For <IMovieAPI>(_httpClient); }
public MovieDomainService(ICosmosService <Movie> movieCosmosHandler, ICosmosService <ProductionCompany> productionCompanyCosmosHandler, ICosmosService <Genre> genreCosmosHandler, IServiceScopeFactory serviceScopeFactory, IMovieAPI movieAPI) { _movieCosmosHandler = movieCosmosHandler; _productionCompanyCosmosHandler = productionCompanyCosmosHandler; _genreCosmosHandler = genreCosmosHandler; _serviceScopeFactory = serviceScopeFactory; _movieAPI = movieAPI; }
public ApiController(IMovieAPI Movies) { _Movies = Movies; }
public MovieAPIAdapterService(IMovieAPI movieAPI) { _movieAPI = movieAPI; }