Beispiel #1
0
 public virtual async Task <ActionResult <Versioned <PermissionsForClient> > > PermissionsForClient(CancellationToken cancellation)
 {
     return(await ControllerUtilities.InvokeActionImpl(async() =>
     {
         var result = await _service.PermissionsForClient(cancellation);
         return Ok(result);
     },
                                                       _logger));
 }
        public virtual async Task <ActionResult <Versioned <PermissionsForClient> > > PermissionsForClient(CancellationToken cancellation)
        {
            var result = await _service.PermissionsForClient(cancellation);

            return(Ok(result));
        }