public async Task <IActionResult> DeleteAsync(Guid id, CancellationToken cancellationToken)
        {
            if (!await _whateverService.ExistsAsync(id, cancellationToken))
            {
                return(NotFound());
            }

            await _whateverService.DeleteAsync(id, cancellationToken);

            return(Accepted());
        }
        public async Task <IActionResult> DeleteAsync(Guid id, CancellationToken cancellationToken)
        {
            if (Guid.Empty == id)
            {
                return(BadRequest("Identificador inválido."));
            }
            if (await _whateverService.ExistsAsync(id, cancellationToken) == false)
            {
                return(NotFound());
            }

            await _whateverService.DeleteAsync(id, cancellationToken);

            return(Accepted());
        }