public ScheduleIntegracoesML() { this.log = new Log(); this.oCompany = CommonConn.InitializeCompany(); IntegracaoService integracaoService = new IntegracaoService(); integracaoService.GetNewAccessToken(); InitializeComponent(); }
public Scheduler() { log = new Log(); log.WriteLogPedido("Conectando ao SAPB1 ..."); log.WriteLogEstoque("Conectando ao SAPB1 ..."); log.WriteLogRetornoNF("Conectando ao SAPB1 ..."); oCompany = CommonConn.InitializeCompany(); IntegracaoService integracaoService = new IntegracaoService(); integracaoService.GetNewAccessToken(); //integracaoService.IniciarIntegracaoPedido(oCompany); InitializeComponent(); }