Exemplo n.º 1
0
        private void salvaLog(int formularioId, int idCaso)
        {
            LogMudancaFormulariomBll logBll = new LogMudancaFormulariomBll();
            LogMudancaFormulario     log    = new LogMudancaFormulario();

            log.tipoFormularioId = formularioId;
            log.id_caso          = idCaso;
            logBll.save(log);
        }
Exemplo n.º 2
0
        private void checkCasoCadastrado(int idCaso)
        {
            FormularioBll form = new FormularioBll();
            var           f    = form.subsidioPreenchido(idCaso);

            if (f != null)
            {
                ViewState["tCasoSubsidioExistente"] = f;
            }


            LogMudancaFormulariomBll logBll = new LogMudancaFormulariomBll();
            string tipo = logBll.readTipo(idCaso);

            if (!string.IsNullOrEmpty(tipo))
            {
                rbList.Items.FindByValue("6").Text = string.Concat("Subsídio", "(", tipo, ")");
            }
        }