protected virtual async Task PreCheckFeatureAsync(RequiresLimitFeatureContext context) { var allowed = await _limitFeatureChecker.CheckAsync(context); if (!allowed) { throw new AbpFeatureLimitException(context.LimitFeature, context.Limit); } }
protected virtual async Task PreCheckFeatureAsync(RequiresLimitFeatureContext context) { await _limitFeatureChecker.CheckAsync(context); }