-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Imobiliaria2.0 #54
base: imobiliaria2.0
Are you sure you want to change the base?
Imobiliaria2.0 #54
Conversation
$em = $this->getDoctrine()->getManager(); | ||
$em->persist($imovel); | ||
$em->flush(); | ||
$this->imovelService->salvar($imovel); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ótimo, mas sempre é uma boa pratica não deixar código comentado, já que temos o git para vermos os historicos...
|
||
if ($form->isSubmitted()) { | ||
$imovelParaEditar = $form->getData(); | ||
$this->imovelService->editar($imovelParaEditar); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bacana.
} | ||
|
||
|
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lembrar sempre das psrs e deixar uma linha embranco no fim do arquivo.
} | ||
|
||
|
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
faltou uma linha em branco
Itens implementados:
1-Criar ação do botao editar imóvel
2-Criar ação do botao deletar imóvel
3- Formatar o type de cadastro de imóveis
5- Criar seerviços e ações nos repositories para o Controller Imovel (salvar,editar, deletar)
8-Mapear Entidade ContratoLocação