public static int checkProcessoAutorizzativo(int idUtente)
    {
        int    returnValue = 0;
        Utente objUtente   = new Utente();

        try
        {
            objUtente.Ute_id_utente = idUtente;
            objUtente.ReadProcessoAutorizzativo();

            if (objUtente.Ute_processo_autorizzativo_liv_1 == 1)
            {
                returnValue = 1;
            }
            else if (objUtente.Ute_processo_autorizzativo_liv_1 == 2)
            {
                if (objUtente.Ute_processo_autorizzativo_liv_2 == 3)
                {
                    returnValue = 3;
                }
                else if (objUtente.Ute_processo_autorizzativo_liv_2 == 4)
                {
                    returnValue = 4;
                }
            }
        }
        catch (Exception ex)
        {
            string foo = ex.Message;
        }
        return(returnValue);
    }
    /// <summary>
    /// Ripresa valori da classe per visualizzazione in form maschera
    /// </summary>
    private void GetValues()
    {
        try
        {
            objUtente.Ute_id_utente = qID_TABELLA_PADRE;
            objUtente.ReadProcessoAutorizzativo();

            if (objUtente.Ute_processo_autorizzativo_liv_1 == 1)
            {
                radio1.Checked = true;
            }
            if (objUtente.Ute_processo_autorizzativo_liv_1 == 2)
            {
                radio2.Checked = true;
            }

            if (objUtente.Ute_processo_autorizzativo_liv_2 == 3)
            {
                radio3.Checked = true;
            }
            if (objUtente.Ute_processo_autorizzativo_liv_2 == 4)
            {
                radio4.Checked = true;
            }

            // hStelleMassime.Value = (objUtente.Try_stelle_massime_hotel.IsNull) ? string.Empty : objUtente.Try_stelle_massime_hotel.Value.ToString();
        }
        catch (Exception ex)
        {
            // Gestione messaggistica all'utente e trace in DB dell'errore
            ExceptionPolicy.HandleException(ex, "Propagate Policy");
        }
    }