using NLog; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ULA.Cathay.CreditoModel.Credito; using ULA.Cathay.CreditoModel.DAL.Credito; namespace ULA.Cathay.CreditoModel.BL.Credito { public class EmailClienteBL { private static Logger logger = LogManager.GetLogger("ClienteBL"); public string IDLogger; public string Insertar(EmailCliente model) { EmailClienteDAL emailclienteDal = new EmailClienteDAL(); try { return emailclienteDal.Insertar(model); } catch (Exception ex) { logger.Error(IDLogger + " Error : Actualizar" + "=" + ex.Message + ex.StackTrace); throw ex; } } } }