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