public ActionResult empresaJurAdmon(int id) { if (Session["Admon"] == null) { return(RedirectToAction("LoginAdmon")); } JURIDICA_DETALLE juridica = JURIDICA_DETALLE.getJuridicaDetalle(id); return(PartialView(juridica)); }
public ActionResult JuridicaDetalle(int id) { if (EMPRESA.getTipoEmpresa(id) != 1) { return(RedirectToAction("Login")); } JURIDICA_DETALLE juridica = JURIDICA_DETALLE.getJuridicaDetalle(id); return(View(juridica)); }