예제 #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();
 }