Пример #1
0
        public static Registro getRegistroById(Page page, string idReg)
        {
            Registro reg = null;

            try
            {
                reg = docsPaWS.GetRegistroBySistemId(idReg);
                if (reg == null)
                {
                    throw new Exception();
                }
            }
            catch (Exception e)
            {
                ErrorManager.redirect(page, e);
            }
            return(reg);
        }