public IActionResult IncluirEndereco(EventoViewModel eventoViewModel) { ModelState.Clear(); eventoViewModel.Endereco.EventoId = eventoViewModel.Id; _eventoAppService.IncluirEndereco(eventoViewModel.Endereco); if (OperacaoValida()) { string url = Url.Action("ObterEndereco", "Eventos", new { id = eventoViewModel.Id }); return(Json(new { success = true, url = url })); } return(PartialView("_IncluirEndereco", eventoViewModel)); }