public async Task <ActionResult <HistoryModel> > getHistory(int userId)
 {
     if (_userservice.getHistory(userId) == null)
     {
         return(NotFound("User has no History or User not found."));
     }
     return(await Task.FromResult(_userBridge.mapToHistoryFrom(_userservice.getHistory(userId))));
 }