public function delete(EntityInterface $entity)
 {
     $msg = ['text' => "Fabricante {$entity->getNome()} excluido com sucesso", 'type' => 'alert-danger'];
     $this->em->remove($entity);
     $this->em->flush();
     return $msg;
 }
 public function delete(EntityInterface $entity)
 {
     $msg = ['text' => "Carro {$entity->getModelo()} excluído com sucesso", 'type' => 'alert-danger'];
     $this->destroy($entity);
     return $msg;
 }