public string GetTreeGridJson(string id) { Companyhandling ch = new Companyhandling(); List <company> group = ch.SearchSonCompany(id); return(group.ToTreeGrid()); }
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()); }