public override void OnPageLoad(object sender, EventArgs e) { base.OnPageLoad(sender, e); this.QueryVM = new PayTypeQueryVM(); this.gridSearchCondition.DataContext = this.QueryVM; }
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)); }); }