public MovieDbService() { this.httpServices = new HttpServices(Constants.UrlApiMovies, MediaTypeHeader.ApplicationJson); this.apiKey = Constants.ApiKeyMovies; }
public ValuesController(IHttpServices httpServices, IMapper mapper) { _IHttpServices = httpServices; _mapper = mapper; }
/// <summary> /// Creates an instance of <see cref="ItemsController"/>. /// </summary> /// <param name="itemsBLL"></param> public ItemsController(IItemsBLL itemsBLL, IHttpServices httpServices) { _itemsBLL = itemsBLL; _httpServices = httpServices; }
public RequestManger(IRequestBuilder builder, IHttpServices sent) { _builder = builder ?? throw new ArgumentNullException(nameof(_builder)); _sent = sent ?? throw new ArgumentNullException(nameof(_sent)); }