Пример #1
0
 public IActionResult Get()
 {
     try
     {
         return(Ok(_eventoRepositorio.ToList()));;
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }