Beispiel #1
0
 public void Put(Guid id, [FromBody] CarDto car)
 {
     _carService.Update(car.ToObject(), id);
 }
Beispiel #2
0
 public void Post([FromBody] CarDto car)
 {
     _carService.Insert(car.ToObject());
 }