示例#1
0
 public void Put(Guid id, [FromBody] CarClassDto carClass)
 {
     _carClassService.Update(carClass.ToObject(), id);
 }
示例#2
0
 public void Post([FromBody] CarClassDto car)
 {
     _carClassService.Insert(car.ToObject());
 }