コード例 #1
0
ファイル: PrecioGanadoBL.cs プロジェクト: vijaydairyf/Prueba
        /// <summary>
        ///     Obtiene una lista de PrecioGanado filtrando por su estatus
        /// </summary>
        /// <param name="estatus"> </param>
        /// <returns></returns>
        internal IList <PrecioGanadoInfo> ObtenerTodos(EstatusEnum estatus)
        {
            try
            {
                Logger.Info();
                var precioGanadoDAL            = new PrecioGanadoDAL();
                IList <PrecioGanadoInfo> lista = precioGanadoDAL.ObtenerTodos(estatus);

                return(lista);
            }
            catch (ExcepcionGenerica)
            {
                throw;
            }
            catch (Exception ex)
            {
                Logger.Error(ex);
                throw new ExcepcionDesconocida(MethodBase.GetCurrentMethod(), ex);
            }
        }