async Task IBikePort.UpdateBikePosition(Guid id, BikePositionModel bikePositionModel) { var bikePositionDto = _mapper.Map <BikePositionDto>(bikePositionModel); await _bikeApplicationService.UpdateBikePosition(id, bikePositionDto); }
public async Task <IActionResult> UpdateBikePosition([FromRoute] Guid id, [FromBody] BikePositionModel bikePositionModel) { await _bikePort.UpdateBikePosition(id, bikePositionModel); return(Ok()); }