예제 #1
0
 /// <summary>
 /// Obtiene una lista de niveles de alerta
 /// </summary>
 /// <returns></returns>
 public IList <NivelAlertaInfo> NivelAlertaInfo()
 {
     try
     {
         Logger.Info();
         var nivelAlertaBl = new RolBL();
         IList <NivelAlertaInfo> result = nivelAlertaBl.ObtenerNivelAlerta();
         return(result);
     }
     catch (ExcepcionGenerica)
     {
         throw;
     }
     catch (Exception ex)
     {
         Logger.Error(ex);
         throw new ExcepcionDesconocida(MethodBase.GetCurrentMethod(), ex);
     }
 }