public string AddAgentRole(string roleName, string reMark) { if (Session[Util.ProjectConfig.ADMINUSER] == null) { return(""); } PageBase pageBase = new PageBase(); RoleManager roleManager = new RoleManager(); string reStr = roleManager.AddAgentRole(roleName, reMark, pageBase.agentRoleID, pageBase.agentUserName, pageBase.CurrentManager.UserName); return(reStr); }