Exemple #1
0
 /// <summary>
 /// Obtiene una entidad Pais por su descripcion
 /// </summary>
 /// <param name="descripcion">Obtiene una entidad Pais por su Id</param>
 /// <returns></returns>
 public PaisInfo ObtenerPorDescripcion(string descripcion)
 {
     try
     {
         Logger.Info();
         var      paisDAL = new PaisDAL();
         PaisInfo result  = paisDAL.ObtenerPorDescripcion(descripcion);
         return(result);
     }
     catch (ExcepcionGenerica)
     {
         throw;
     }
     catch (Exception ex)
     {
         Logger.Error(ex);
         throw new ExcepcionDesconocida(MethodBase.GetCurrentMethod(), ex);
     }
 }