public FisiotesExternalService(IRestClient restClient, FisiotesConfig config)
        {
            _restClient = restClient ?? throw new ArgumentNullException(nameof(restClient));
            _config     = config ?? throw new ArgumentNullException(nameof(config));

            _restClient.BaseAddress(_config.BaseAddress)
            .UseAuthenticationBasic(_config.Credentials.Token);
        }
 public SinonimosExternalService(IRestClient restClient, FisiotesConfig config) :
     base(restClient, config)
 {
 }
示例#3
0
 public ProveedoresExternalService(IRestClient restClient, FisiotesConfig config)
     : base(restClient, config)
 {
 }
 public ListasArticulosExternalService(IRestClient restClient, FisiotesConfig config) :
     base(restClient, config)
 {
 }
示例#5
0
 public CategoriasExternalService(IRestClient restClient, FisiotesConfig config)
     : base(restClient, config)
 {
 }
 public EncargosExternalService(IRestClient restClient, FisiotesConfig config)
     : base(restClient, config)
 {
 }
示例#7
0
 public ListasExternalService(IRestClient restClient, FisiotesConfig config, IListasArticulosExternalService listaDeArticulos)
     : base(restClient, config)
 {
     DeArticulos = listaDeArticulos ?? throw new System.ArgumentNullException(nameof(listaDeArticulos));
 }
示例#8
0
 public ConfiguracionesExternalService(IRestClient restClient, FisiotesConfig config)
     : base(restClient, config)
 {
 }
 public ProgramacionExternalService(IRestClient restClient, FisiotesConfig config)
     : base(restClient, config)
 {
 }
 public MedicamentosExternalService(IRestClient restClient, FisiotesConfig config)
     : base(restClient, config)
 {
 }
示例#11
0
 public PuntosPendientesExternalService(IRestClient restClient, FisiotesConfig config)
     : base(restClient, config)
 {
 }