Exemple #1
0
 public static bool NEGOCIO_delete(FCCxCEstadoPago obj)
 {
     try
     {
         var resultado = new DATOS_EstadoPago().DATOS_delete(obj.IdEstadoPago);
         return(resultado);
     }
     catch (Exception ex)
     {
         var msgError = ex.Message;
         return(false);
     }
 }
Exemple #2
0
        public static List <FCCxCEstadoPago> NEGOCIO_SelectAll()
        {
            try
            {
                var resTemp = new DATOS_EstadoPago().DATOS_SelectAll().ToList();
                List <FCCxCEstadoPago> res = new List <FCCxCEstadoPago>();
                foreach (var r in resTemp)
                {
                    FCCxCEstadoPago n = new FCCxCEstadoPago()
                    {
                        IdEstadoPago  = r.IdEstadoPago,
                        DscEstadoPago = r.DscEstadoPago
                    };
                }
                return(res);
            }

            catch (Exception ex)
            {
                var msgError = ex.Message;
            }
            return(null);
        }