public IActionResult Crear(EventoDto dto) { if (ModelState.IsValid) { var resultado = Negocio.AltaEvento(dto); if (!resultado.HayErrores) { return(new AjaxEditSuccessResult()); } ModelState.AgregarErrores(resultado); } CargarCategorias(); return(View(dto)); }