private void CadastrarNoBanco(List <PagamentosController> Pagamentos_L) { try { PagamentoNegocios Pagamento_N = new PagamentoNegocios(); Pagamento_N.PagamentoIncluirImporcacao(Pagamentos_L); new ComissaoNegocios().ComissaoProcessamento(ParametrosInterface.objUsuarioLogado.TB011_Id); MessageBox.Show(@"Importação realizada com sucesso.", @"Importação", MessageBoxButtons.OK, MessageBoxIcon.Information); btnImpSelimportar.Enabled = true; btnImpSelArquivo.Enabled = true; } catch (Exception ex) { MessageBox.Show(ex.Message, @"Erro ao executar operação", MessageBoxButtons.OK, MessageBoxIcon.Error); btnImpSelimportar.Enabled = true; btnImpSelArquivo.Enabled = true; } new ParcelaNegocios().SetarParcelaVencida(ParametrosInterface.objUsuarioLogado.TB011_Id); }