37 lines
997 B
C#
37 lines
997 B
C#
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<SubIndicesEpower> Obtener()
|
|
{
|
|
List<SubIndicesEpower> listaSubIndicesEpower = null;
|
|
|
|
try
|
|
{
|
|
listaSubIndicesEpower = new List<SubIndicesEpower>();
|
|
listaSubIndicesEpower = db.SubIndicesEpower.ToList();
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
logger.Error(IDLogger + " Error : Obtener " + "=" + ex.Message + ex.StackTrace);
|
|
}
|
|
return listaSubIndicesEpower;
|
|
}
|
|
#endregion
|
|
}
|
|
}
|