public async Task <IActionResult> ObtenerTodosEventos() { try { var eventos = await _eventoRepos.ObtenerTodos(); return(Ok(eventos)); } catch (System.ArgumentNullException ex) { return(NotFound()); } catch (Exception e) { return(BadRequest()); } }