public override void OnPageLoad(object sender, EventArgs e)
        {
            base.OnPageLoad(sender, e);

            _facade          = new FreeShippingChargeRuleFacade(this);
            _areaQueryFacade = new AreaQueryFacade();

            _queryVM = new FreeShippingChargeRuleQueryVM();
            GridQueryFilter.DataContext = _queryVM;

            _areaQueryFacade.QueryProvinceAreaList((obj, args) =>
            {
                if (args.FaultsHandle())
                {
                    return;
                }
                List <AreaInfo> areaList = args.Result;
                if (areaList == null)
                {
                    areaList = new List <AreaInfo>();
                }
                areaList.Insert(0, new AreaInfo()
                {
                    ProvinceName = ResCommonEnum.Enum_Select
                });
                comArea.ItemsSource = areaList;
            });
        }
        public void Query(FreeShippingChargeRuleQueryVM model, EventHandler <RestClientEventArgs <dynamic> > callback)
        {
            FreeShippingChargeRuleQueryFilter filter = model.ConvertVM <FreeShippingChargeRuleQueryVM, FreeShippingChargeRuleQueryFilter>();

            string relativeUrl = "/CommonService/FreeShippingChargeRule/Query";

            restClient.QueryDynamicData(relativeUrl, filter, (_, args) =>
            {
                if (args.FaultsHandle())
                {
                    return;
                }
                callback(this, new RestClientEventArgs <dynamic>(args.Result, this.Page));
            });
        }