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