public IActionResult Delete(Guid id)
        {
            try
            {
                _pedidoItemRepository.Remover(id);

                return(Ok(id));
            }
            catch (Exception ex)
            {
                return(BadRequest(ex.Message));
            }
        }
 public void Delete(Guid id)
 {
     _pedidoItensRepository.Remover(id);
 }