Example #1
0
 public void Put(Guid id, [FromBody] ContractDto carClass)
 {
     _contractService.Update(carClass.ToObject(), id);
 }
Example #2
0
 public void Post([FromBody] ContractDto car)
 {
     _contractService.Insert(car.ToObject());
 }