コード例 #1
0
        public static bool RevocaDelega(Page page, SAAdminTool.DocsPaWR.InfoDelega[] listaDeleghe, out string msg)
        {
            msg = string.Empty;
            bool result = false;

            try
            {
                SAAdminTool.DocsPaWR.InfoUtente infoUtente = UserManager.getInfoUtente(page);

                result = docsPaWS.DelegaRevoca(infoUtente, listaDeleghe, out msg);
                //if (!result)
                //{
                //    //throw new Exception();
                //}
                return(result);
            }
            catch (Exception es)
            {
                ErrorManager.redirect(page, es);
            }
            return(result);
        }