public IntegrationProveedores(IConfiguration configuration, IUtilsInfra util) { HttpClientHandler clientHandler = new HttpClientHandler(); clientHandler.ServerCertificateCustomValidationCallback = (sender, cert, chain, sslPolicyErrors) => { return(true); }; this.clientAPI = new HttpClient(clientHandler); this.HOST_PROVEEDORES = configuration["HostMicroservicios:Proveedores"]; this._util = util; }
public UnitOfWork(IMongoContext context, IMongoRepository <T> repository, IConfiguration configuration, IUtilsInfra util) { _context = context; _repository = repository; this._configuration = configuration; this._util = util; }