Esempio n. 1
0
        public async Task DeleteAsync(
            [Summary("The ID value of the infraction to be deleted.")]
            long infractionId)
        {
            await ModerationService.DeleteInfractionAsync(infractionId);

            await Context.AddConfirmation();
        }
Esempio n. 2
0
 public Task Delete(
     [Summary("The ID value of the infraction to be deleted.")]
     long infractionId)
 => ModerationService.DeleteInfractionAsync(infractionId);