public void UpdateTruck(long TruckId, [FromBody] TruckForUpdating truck) { TruckDTO truckToReturn = _logicRepository.UpdateTruck(TruckId, truck); _logicRepository.Save(); //return Ok(truckToReturn); }
public void UpdateTruck(long TruckId, [FromBody] TruckForUpdating truck) { _logicRepository.UpdateTruck(TruckId, truck); _logicRepository.Save(); }