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