public ActionResult ReadAlert(int?alertaId) { try { EmpresaSecurity <SecurityContext> security = new EmpresaSecurity <SecurityContext>(); if (alertaId.HasValue && alertaId > 0) { security.ReadAlert(alertaId.Value); } } catch { return(null); } return(null); }