Example #1
0
 public async Task <DeleteEntityByIdPayload> DeleteClaimAsync([Service] IClaimsService service, Guid id,
                                                              CancellationToken cancellationToken)
 {
     return(new DeleteEntityByIdPayload
     {
         Success = await service.DeleteByIdAsync(id, cancellationToken)
     });
 }