public async Task <PaginatedResponse <Produit> > GetPaginatedProduit(PagingParams pagination)
        {
            try
            {
                var result = await _stockApi.GetPaginatedProduits(pagination);

                return(result.Content);
            }
            catch (ApiException e)
            {
                throw new StockApiException(e.Message);
            }
            catch (Exception e)
            {
                _logger.LogError(e.Message);
                throw;
            }
        }