public async Task <Retrait> GetRetraitById(Guid id) { try { var result = await _stockApi.GetRetraitById(id); return(result.Content); } catch (ApiException e) { throw new StockApiException(e.Message); } catch (Exception e) { Console.WriteLine(e); throw; } }