38 lines
995 B
C#
38 lines
995 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 partial class MatrizSeleccionDAL
|
|
{
|
|
private UltimusLogs logger = new UltimusLogs("MatrizSeleccionDAL");
|
|
|
|
private string _IDLogger;
|
|
public string IDLogger;
|
|
public CreditoContex db = new CreditoContex();
|
|
|
|
#region Obtener
|
|
|
|
public List<MatrizSeleccion> Obtener()
|
|
{
|
|
List<MatrizSeleccion> listaMatrizSeleccion = null;
|
|
|
|
try
|
|
{
|
|
listaMatrizSeleccion = new List<MatrizSeleccion>();
|
|
listaMatrizSeleccion = db.MatrizSeleccion.ToList();
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
logger.Error(IDLogger + " Error : Obtener " + "=" + ex.Message + ex.StackTrace);
|
|
}
|
|
return listaMatrizSeleccion;
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
}
|