예제 #1
0
        public ActionResult empresaJurAdmon(int id)
        {
            if (Session["Admon"] == null)
            {
                return(RedirectToAction("LoginAdmon"));
            }

            JURIDICA_DETALLE juridica = JURIDICA_DETALLE.getJuridicaDetalle(id);

            return(PartialView(juridica));
        }
예제 #2
0
        public ActionResult JuridicaDetalle(int id)
        {
            if (EMPRESA.getTipoEmpresa(id) != 1)
            {
                return(RedirectToAction("Login"));
            }

            JURIDICA_DETALLE juridica = JURIDICA_DETALLE.getJuridicaDetalle(id);

            return(View(juridica));
        }