Beispiel #1
0
 public IActionResult SOlicitar(int id, [FromBody] Colaborador colaborador)
 {
     try
     {
         var carona = fachada.SolicitarCarona(id, colaborador);
         return(NoContent());
     }
     catch (Exception e)
     {
         return(StatusCode(500, e.Message));
     }
 }