public string GetDataByType1(string table1, string table2, string game) { if (Session[Util.ProjectConfig.ADMINUSER] == null) { return(""); } return(OrderdetailouManager.GetDataByType(table1, table2, game)); }
public string GetDataByType(string table1, string table2, string type, string game) { if (Session[Util.ProjectConfig.ADMINUSER] == null) { return(""); } PageBase page = new PageBase(); List <string> ag = new List <string>(); ag = getag(); return(OrderdetailouManager.GetDataByType(table1, table2, type, game, page.agentUserName, ag[page.agentRoleID - 2])); }