TFS_ANTIGUO/SInCathay/ULA.Cathay.CreditoModel.BL/Credito/TelefonoClienteBL.cs

32 lines
863 B
C#

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 TelefonoClienteBL
{
private static Logger logger = LogManager.GetLogger("ClienteBL");
public string IDLogger;
public string Insertar(TelefonoCliente model)
{
TelefonoClienteDAL TelefonoClienteDAL = new TelefonoClienteDAL();
try
{
return TelefonoClienteDAL.InsertarItem(model);
}
catch (Exception ex)
{
logger.Error(IDLogger + " Error : Actualizar" + "=" + ex.Message + ex.StackTrace);
throw ex;
}
}
}
}