public int GetSimples(int id) { try { if (Global.TpConexao == Enumeradores.TipoConexao.LAN) { return(regrasnegocio.GetSimples(id)); } else { return(0); } } catch { throw; } }