Ejemplo n.º 1
0
        public async Task <StatusCodeResult> DeleteAsync(string collector, CancellationToken token = default)
        {
            if (!await _collectorService.DeleteAsync(collector, token))
            {
                return(NotFound());
            }

            return(NoContent());
        }