Esempio n. 1
0
        /// <summary>
        /// 根据角色编号获取用户列表
        /// </summary>
        /// <param name="entity">角色用户搜索实体</param>
        /// <returns>PageDataModel<Role2UserEntity></returns>
        public Task <BasePagedListModel <Role2UserEntity> > GetListByRoleIdAsync(RoleUserSearchParam param)
        {
            if (param == null)
            {
                throw new ArgumentNullException(nameof(param));
            }

            return(roleUserRepository.GetListByRoleIdAsync(param));
        }