コード例 #1
0
        /// <summary>
        /// 返回角色,根据代理ID(Json)
        /// By xzz
        /// 2010-8-31 23:56
        /// </summary>
        /// <param name="agentId">代理ID</param>
        /// <returns></returns>
        public string GetRoles(string agentId)
        {
            RoleService roleService = new RoleService();

            return(ObjectToJson.ObjectListToJson(roleService.GetRoleByAgentId(agentId)));
        }