Exemple #1
0
        public override void OnPageLoad(object sender, EventArgs e)
        {
            base.OnPageLoad(sender, e);

            this.QueryVM = new PayTypeQueryVM();
            this.gridSearchCondition.DataContext = this.QueryVM;
        }
Exemple #2
0
        public void QueryPayTypeList(PayTypeQueryVM filter, EventHandler <RestClientEventArgs <dynamic> > callback)
        {
            string relativeUrl = "/CommonService/PayType/QueryPayType";

            var msg = filter.ConvertVM <PayTypeQueryVM, PayTypeQueryFilter>();

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