Exemple #1
0
        public static Registro modificaRegistro(Page page, Registro registro)
        {
            Registro result = null;

            try
            {
                result = docsPaWS.RegistriModifica(registro, UserManager.getInfoUtente(page));

                if (result == null)
                {
                    throw new Exception();
                }
            }
//			catch(System.Web.Services.Protocols.SoapException es)
//			{
//				ErrorManager.redirect(page, es);
//			}
            catch (Exception exception)
            {
                ErrorManager.redirect(page, exception);
            }

            return(result);
        }