public static List <ClienteNivel> ObtenerTodos()
        {
            List <ClienteNivel> lista = new List <ClienteNivel>();
            DataSet             ds    = ClienteNivelDatos.SeleccionarTodos();

            foreach (DataRow fila in ds.Tables[0].Rows)
            {
                ClienteNivel registro = new ClienteNivel();
                registro.id          = Convert.ToInt16(fila["ID"]);
                registro.cliente     = ClienteLN.ObtenerPorIdentificacion(Convert.ToString(fila["IDCLIENTE"]));
                registro.montoActual = Convert.ToInt32(fila["MONTOACTUAL"]);
                registro.nivel       = NivelLN.Obtener(Convert.ToInt16(fila["IDNIVEL"]));

                lista.Add(registro);
            }
            return(lista);
        }
 public static void ActualizarNivel(string identificacion, int idNivel)
 {
     ClienteNivelDatos.actualizarNivel(identificacion, idNivel);
 }
 public static void Actualizar(string identificacion, int montoActual)
 {
     ClienteNivelDatos.actualizar(identificacion, montoActual);
 }
 public static void Insertar(ClienteNivel clienteNivel)
 {
     ClienteNivelDatos.Insertar(clienteNivel);
 }