コード例 #1
0
        public void UpdateTruck(long TruckId, [FromBody] TruckForUpdating truck)
        {
            TruckDTO truckToReturn = _logicRepository.UpdateTruck(TruckId, truck);

            _logicRepository.Save();

            //return Ok(truckToReturn);
        }
コード例 #2
0
 public void UpdateTruck(long TruckId, [FromBody] TruckForUpdating truck)
 {
     _logicRepository.UpdateTruck(TruckId, truck);
     _logicRepository.Save();
 }