public async Task <ActionResult> EditAsync(Endereco endereco) { if (ModelState.IsValid) { try { await _enderecoRepositorio.AlterarEnderecoComPessoa(endereco); } catch (DbUpdateConcurrencyException) { } return(RetornarDeAcordoComPessoa(endereco)); } return(View(endereco)); }