using System; using System.Collections.Generic; using System.Linq; using Ultimus.Utilitarios; using ULA.Cathay.CreditoModel.Credito; namespace ULA.Cathay.CreditoModel.DAL.Credito { public class CatalogosDAL { UltimusLogs logs = new UltimusLogs("CatalogosDAL"); public List Obtener_DivisionCIIU() { List respuesta = new List(); try { using (CreditoContex db = new CreditoContex()) { respuesta= db.DivisionCIIU.ToList(); } } catch (Exception ex) { logs.Error(ex); throw ex; } return respuesta; } } }