public ActionResult LogSISE()
        {
            if (Session["cotizacionID"] != null)
            {
                int cotizacionID = (int)Session["cotizacionID"];
                ViewBag.UbicacionList        = _AseguradoService.FindCatalogoUbicaciones(cotizacionID);
                ViewBag.TipoBeneficiarioList = _CatalogoService.AllTableData((int)enumTable.TipoBeneficiario);
                ViewBag.BeneficiariosNumber  = _AseguradoService.GetNumberBenefbyCotizacion(cotizacionID);
                ViewBag.RFC = _CotizacionService.FindRFCCotizacionbyID(cotizacionID);

                Cotizacion cot = _CotizacionService.FindCotizacionLogbyID(cotizacionID);
                if (cot.bk_te_CotizacionLog.ToList().Exists(x => x.isOK.Value))
                {
                    ViewBag.isEnable = false;
                }
                else
                {
                    ViewBag.isEnable = true;
                }


                ViewBag.ListaAseguradoDiferencias = _AseguradoService.GetDiferenciaAsegurado(cot.AseguradoID);
                ViewBag.ErrorNroBeneficiarios     = MessagesValidation.Error(cot.ErrorMaxBeneficiario());
                return(View(cot));
            }
            return(View());
        }
        private void FillRiskReport(Cotizacion cot)
        {
            if (cot == null)
            {
                return;
            }

            if (cot.bk_te_LazCasualty != null)
            {
                cot.bk_te_LazCasualty.RetroactiveList   = new SelectList(_CatalogoService.AllTableData((int)enumTable.RRRetroactive), "Value", "Label");
                cot.bk_te_LazCasualty.TriggerList       = new SelectList(_CatalogoService.AllTableData((int)enumTable.RRTrigger), "Value", "Label");
                cot.bk_te_LazCasualty.TypeOcurrencyList = new SelectList(_CatalogoService.AllTableData((int)enumTable.RRTypeOcurrency), "Value", "Label");
            }

            if (cot.bk_te_IncCOPE != null)
            {
                //ViewBag.ISOList = new SelectList(_CatalogoService.AllTableData((int)enumTable.RRISO), "Value", "Label");
                ViewBag.ISOList = _CatalogoService.AllTableData((int)enumTable.RRISO);
                //ViewBag.ExposicionList = new SelectList(_CatalogoService.AllExposiciones(), "ExposicionID", "nombre");
                ViewBag.ExposicionList = _CatalogoService.AllExposiciones();
            }

            if (cot.bk_te_IncASAreaFuego != null)
            {
                //ViewBag.TipoConstIncendioList = new SelectList(_CatalogoService.AllTipoConstructivoIncendios(), "TipoConstructivoIncendioID", "Descripcion");
                ViewBag.TipoConstIncendioList = _CatalogoService.AllTipoConstructivoIncendios();
                ViewBag.SICDivisionList       = _CatalogoService.AllSICDivisiones();
            }
        }