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); }
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, ")"); } }