Exemple #1
0
 public async Task <IHttpActionResult> GetAllAsync([FromUri] RuleQueryDto model, CancellationToken cancellationToken)
 {
     return(new RuleListContentResult(
                await _ruleManager.FindAllAsync(ApiSecurity.CurrentUserId, model?.Fields ?? RuleField.None, cancellationToken), this));
 }