public ScooterResponse TurnBack(int scooterId) { var scooter = scooterService.TurnBack(scooterId); var scooterResponse = new ScooterResponse(Convert.ToInt32(scooter.Id)); return(scooterResponse); }
public ScooterResponse Rent(int scooterId, string passportNumber) { var scooter = scooterService.Rent(scooterId, passportNumber); var scooterResponse = new ScooterResponse(Convert.ToInt32(scooter.Id)); return(scooterResponse); }