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 SubIndicesEpowerDAL { private UltimusLogs logger = new UltimusLogs("SubIndicesEpowerDAL"); private string _IDLogger; public string IDLogger; public CreditoContex db = new CreditoContex(); #region Obtener public List Obtener() { List listaSubIndicesEpower = null; try { listaSubIndicesEpower = new List(); listaSubIndicesEpower = db.SubIndicesEpower.ToList(); } catch (Exception ex) { logger.Error(IDLogger + " Error : Obtener " + "=" + ex.Message + ex.StackTrace); } return listaSubIndicesEpower; } #endregion } }