public TOTransaction <List <GnArbol> > Get(string tar_codi, string arb_codi, int emp_codi)
        {
            BOGnArbol bo = new BOGnArbol();

            emp_codi = new tools.General().GetEmpCodi(emp_codi);
            return(bo.GetGbnArbol(tar_codi, arb_codi, emp_codi));
        }
        public SevenFramework.TO.TOTransaction <List <GnArbol> > GetArbolPorTipo(int emp_codi, int tar_codi)
        {
            try
            {
                BOGnArbol bo = new BOGnArbol();
                return(new SevenFramework.TO.TOTransaction <List <GnArbol> >()
                {
                    Retorno = 0, ObjTransaction = bo.GetGbnArbol(tar_codi, emp_codi), TxtError = ""
                });
            }

            catch (Exception ex)
            {
                return(new SevenFramework.TO.TOTransaction <List <GnArbol> >()
                {
                    TxtError = ex.Message, ObjTransaction = null, Retorno = 1
                });
            }
        }