示例#1
0
 public IActionResult GetAll()
 {
     try
     {
         return(Ok(appService.ConsultarTodos()));
     }
     catch (Exception e)
     {
         return(StatusCode(500, e.Message));
     }
 }