public async Task <PaginatedResponse <User> > GetPaginatedUsers(DataTableParams @params)
        {
            try
            {
                var pagination = new PagingParams
                {
                    SearchQuery = @params.search,
                    OpenDate    = @params.openDate,
                    CloseDate   = @params.closeDate,
                    OrderColumn = @params.orderColumn,
                    OrderDir    = @params.orderDir
                };
                var result = await _stockApi.GetPaginatedUsers(pagination);

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