예제 #1
0
        public static string PinLink_Alta(PinLink unPinLink, CodigoPreAprobado unCodigoPreAprobado)
        {
            String mjeRdo = String.Empty;

            try
            {
                using (TransactionScope oTransactionScope = new TransactionScope())
                {
                    mjeRdo = PinLinkDAO.PinLink_Alta(unPinLink);
                    if (unCodigoPreAprobado != null)
                    {
                        mjeRdo += CodigoPreAprobacionDAO.Novedades_CodigoPreAprobacion_Modificacion(unCodigoPreAprobado);
                    }
                    oTransactionScope.Complete();
                }
                return(mjeRdo);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
예제 #2
0
 public List <PinLink> PinLink_Trae(Int64 cuil, Int64 nroTarjeta)
 {
     return(PinLinkDAO.PinLink_Trae(cuil, nroTarjeta));
 }