コード例 #1
0
 /// <summary>
 /// Obtiene un lista de DeteccionAnimal
 /// </summary>
 /// <returns></returns>
 public IList <DeteccionAnimalInfo> ObtenerTodos()
 {
     try
     {
         Logger.Info();
         var deteccionAnimalDAL             = new DeteccionAnimalDAL();
         IList <DeteccionAnimalInfo> result = deteccionAnimalDAL.ObtenerTodos();
         return(result);
     }
     catch (ExcepcionGenerica)
     {
         throw;
     }
     catch (Exception ex)
     {
         Logger.Error(ex);
         throw new ExcepcionDesconocida(MethodBase.GetCurrentMethod(), ex);
     }
 }