Example #1
0
        public async Task <IResultModel> AssignAsync(PermissionAssignInput input)
        {
            var result = await _permissionRepository.AssignAsync(input);

            //清除权限
            await _cache.DelByPatternAsync(CacheKey.UserPermissions);

            return(ResultModel.Result(result));
        }