Exemplo n.º 1
0
 public ActionResult <Vehiculo> Create(Vehiculo vehiculo)
 {
     _vehiculoService.Create(vehiculo);
     return(CreatedAtRoute("GetVehiculo", new { rid = vehiculo.Id.ToString() }, vehiculo));
 }