Exemple #1
0
 public static List <BE_Turnos> Listar_Turnos_x_ID(BE_Turnos pBE_Turnos)
 {
     try
     {
         return(DA_Turnos.Listar_Turnos_x_ID(pBE_Turnos));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemple #2
0
        public static int Actualizar_Turnos(BE_Turnos pBE_Turnos)
        {
            int intValor = 0;

            try
            {
                using (TransactionScope ts = new TransactionScope())
                {
                    intValor = DA_Turnos.Actualizar_Turnos(pBE_Turnos);

                    ts.Complete();
                }
                intValor = Convert.ToInt32(pBE_Turnos.ID);
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return(intValor);
        }