public async Task <IActionResult> ObtenerEventos(string cadenaBuscar) { try { var evento = await _eventoRepos.Obtener(cadenaBuscar); return(Ok(evento)); } catch (System.ArgumentNullException ex) { return(NotFound()); } catch (Exception e) { return(BadRequest()); } }