I\'m trying to convert a few endpoints I have to use concurrency. I have the following method for the controller:
Original method
def getHistory(id:St