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