public void Put(Guid id, [FromBody] ReservationDto car) { _reservationService.Update(car.ToObject(), id); }
public void Post([FromBody] ReservationDto car) { _reservationService.Insert(car.ToObject()); }