using System; using System.Collections.Generic; using System.Linq; using ULA.Cathay.CreditoModel.Credito; using Ultimus.Utilitarios; namespace ULA.Cathay.CreditoModel.DAL.Credito { public class MatrizOfertaDAL { private UltimusLogs logger = new UltimusLogs("MatrizOfertaDAL"); private string _IDLogger; public string IDLogger; public CreditoContex db = new CreditoContex(); #region Obtener public List Obtener() { List listaMatrizOferta = null; try { listaMatrizOferta = new List(); listaMatrizOferta = db.MatrizOferta.ToList(); } catch (Exception ex) { logger.Error(IDLogger + " Error : Obtener " + "=" + ex.Message + ex.StackTrace); } return listaMatrizOferta; } #endregion } }