Beispiel #1
0
 public IActionResult GetPorId(int id)
 {
     try
     {
         return(Ok(appService.ConsultarPorId(id)));
     }
     catch (Exception e)
     {
         return(StatusCode(500, e.Message));
     }
 }