Esempio n. 1
0
        public string GetTreeGridJson(string id)
        {
            Companyhandling ch = new Companyhandling();

            List <company> group = ch.SearchSonCompany(id);

            return(group.ToTreeGrid());
        }
Esempio n. 2
0
        public string GetTreeGridJson()
        {
            Companyhandling ch    = new Companyhandling();
            admin           a     = new Admin().GetAdminMsg(Convert.ToInt64(sc.GetHrSession()));
            List <company>  group = ch.SearchSonCompany(a.admin_CompanyID);

            return(group.ToTreeGrid());
        }