public override async Task GetPageData(int pageIndex)
        {
            try
            {
                var r = await menuService.GetBasicListAsync(new QueryParameters()
                {
                    PageIndex = pageIndex,
                    PageSize  = PageSize,
                    Search    = SearchText
                });

                if (r != null && r.success)
                {
                    GridModelList = new ObservableCollection <Basic>();
                    var pagedList = JsonConvert.DeserializeObject <PagedList <Basic> >(r.dynamicObj?.ToString());
                    this.TotalCount = pagedList.TotalCount;
                    pagedList.Items?.ToList().ForEach(arg =>
                    {
                        GridModelList.Add(arg);
                    });
                    base.SetPageCount();
                }
            }
            catch (Exception ex)
            {
                //..
            }
        }
        public override async Task GetPageData(int pageIndex)
        {
            try
            {
                var r = await service.GetBasicListAsync(new QueryParameters()
                {
                    PageIndex = pageIndex,
                    PageSize  = PageSize,
                    Search    = SearchText
                });

                if (r != null && r.success)
                {
                    GridModelList   = new ObservableCollection <Basic>();
                    this.TotalCount = r.dynamicObj.TotalCount;
                    r.dynamicObj.Items?.ToList().ForEach(arg =>
                    {
                        GridModelList.Add(arg);
                    });
                    base.SetPageCount();
                }
            }
            catch (Exception ex)
            {
                //..
            }
        }