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