public ActionResult EditarEvento(Evento evento) { try { EventoDAL.UpdateEvento(evento); } catch (Exception) { System.Console.WriteLine("falhou"); return(View(nameof(Cadastro))); throw; } return(View(nameof(Cadastro))); }